You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As usual, the editors do their own thing. Very close, but not compatible. 😜
CKEditor 5 code block plugin:
<pre><code class="language-XXXX">...
TinyMCE codesample plugin:
<pre class="language-XXXX><code>...
It would be possible (in theory, didn't try) to add some import (eventually export) magic to make toggling between these two editors easier, but is it worth it? It's some effort (editor.parser / editor.serializer...) and might be unnecessary...
Prism.js can handle both variants, BTW.
The text was updated successfully, but these errors were encountered:
Moved here from https://github.com/backdrop-contrib/tinymce_codehighlight/issues
As usual, the editors do their own thing. Very close, but not compatible. 😜
CKEditor 5 code block plugin:
TinyMCE codesample plugin:
It would be possible (in theory, didn't try) to add some import (eventually export) magic to make toggling between these two editors easier, but is it worth it? It's some effort (editor.parser / editor.serializer...) and might be unnecessary...
Prism.js can handle both variants, BTW.
The text was updated successfully, but these errors were encountered: