numaxlab / nova-ckeditor5-classic

A Laravel Nova CKEditor5 Classic Field.
MIT License
39 stars 41 forks source link

Code Formatting as a Toolbar Option #5

Open king724 opened 5 years ago

king724 commented 5 years ago

First off, thank you for this package! It works great!

I was trying to figure out how to enable a 'Code' formatting option on the toolbar but adding 'Code' to the config file doesn't seem to work. I believe that it is part of the basic text formatting options (https://ckeditor.com/docs/ckeditor5/latest/features/basic-styles.html).

Any light you could shed on this would be a huge help!

radwanic commented 5 years ago

@king724 I had some issues using some features as well. Turned out that the CKEditor's build itself (the default classic build) doesn't include many features, and you have to create a custom build of your own.

I had to fork the repo and adjust that part myself

See https://github.com/numaxlab/nova-ckeditor5-classic/pull/6

king724 commented 5 years ago

Thanks @radwanic! I'll check out your Fork/PR!