Hello, I’m getting an error message that someone already mentioned in the discussion, but there wasn’t any real solution provided. The following error shows up every time I click on the CKEditor or try to do anything with it:
CKEditorError: Failed to read the ‘cssRules’ property from ‘CSSStyleSheet’: Cannot access rules Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-Failed to read the ‘cssRules’ property from ‘CSSStyleSheet’: Cannot access rules
By quick googling of the error, it apparently has something to do with a security measure CORS (Cross Origin Resource Sharing). But my knowledge in this field is very limited, so any kind of help or insight would be greatly appreciated
I simply have the following code in a Dialog window:
VaadinCKEditor editor = new VaadinCKEditorBuilder().with(builder -> {
builder.editorData = "<p>This is a classic editor sample.</p>";
builder.editorType = Constants.EditorType.CLASSIC;
builder.theme = Constants.ThemeType.DARK;
}).createVaadinCKEditor();
editor.setSizeFull();