When I setValue() with html that has a tag and so on it al

When I setValue() with html that has a <style> tag and so on it all gets stripped out by ckeditor. From what I understand this is a default setting that needs to be overwritten in the configuration but I cannot seem to find where it's done in the component. I've been looking through the Builder and Config classes but just cannot find it. Any help would be appreciated.


With that in mind I found this for ckeditor 5 which pointed to this documentation but I cannot see any way to get access the Schema. Also this seems more like what I'm looking for but again I cannot see any way to access this to allow a <style> tag for example. And ckeditor 4 seems to indicate it's more of a config setting but I also couldn't find anything related in the Config class. So any help would be appreciated.

By using source mode, you could add style to html tags. It's an experimental feature on ckeditor 5 currently, so it's not fully supported by the vaadin addon for now.

Hi Ryan,

Is there any support for it in the add-on? If so would you mind pointing me to it? And if not how difficult do you think it would be to implement? I ask because I'm wondering if it's worthwhile for me to try to implement and then of course give you the code to integrate into the add-on if you wish to do so. Or if there are other possible options that you may be interested in. In any case let me know and if need be we can communicate more directly through github.

The feature has been integrated without config implementation. You could complete the implementation by yourself, it’s not hard. Cheers.

Hi Ryan,

I tried to send you a direct email to see if you might be interested in possibly being sponsored to help build that functionality into the component. Hopefully my email made it through. Just in case I've also created a ticket in github.