custom html element #216
Unanswered
Benman2005
asked this question in
Q&A
Replies: 2 comments
-
Hi, you can follow the "Adding Timestamp plugin [JS]" in the examples section https://github.com/nshenderov/strapi-plugin-ckeditor?tab=readme-ov-file#configuration-examples |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey. I had a similar problem trying to add a responsive column layout option. After a day of source code research a figured out a solution. First of all, create a new plugin, I put mine in
After that it's time to assemble a new preset. I took most of the stuff from default html editor
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, not sure if it's worth asking. This question was a bit different, but i'd like to still be able to add a custom html element inside my ckeditor, like or or something.
The problem now is that when editing source it actually accepts the custom html element and saves it. It just doesnt show it outside of the source editor, so in the normal editor.
I did allow all elements in the editorConfig, but according to ckeditor documentation i would need to register the custom element in the DataSchema, but I have no idea where in this strapi implementation i would have to declare these.
Is it possible? It can just show as regular text, as long as it shows and is in the html source.
@nshenderov can you help me with this? oh yeah i'm on v5 right now
Beta Was this translation helpful? Give feedback.
All reactions