1

I read this: https://github.com/craftcms/ckeditor?tab=readme-ov-file#registering-custom-styles but to me that is not clear where I should add this code. Do I have to add this within the CK editor config page in craft?

ck editor cp

In my example I tried to change the font family for the editor, but nothing happens.

What I finally want to achieve is a custom format like seen here: https://ckeditor.com/docs/ckeditor5/latest/features/style.html#demo but showing a button.

Currently I have no idea how that is being done. I knew my way around in redactor, but now ck editor seems to rule again...

I think I need to add the styles plugin as said on github but there is no explanation how I would install this within craft.

1 Answer 1

1

First this video is very handy: https://www.youtube.com/watch?v=etFletL0dYg&ab_channel=CraftQuest

Secondly: I have this code now and I had to make sure that Styles appear within my menu bar of the editor.

ck editor settings ck editor in action

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.