Sephen
1
Since the new tiptap editor I’m not able to change the HTML in the wysiwyg editor.
How can I add the code/html functionality to the editor toolbar
”code” clearly doesn’t work
{toolbar: ‘format | alignLeft alignCenter alignRight | link image | listBullet listOrdered | table hr | bold italic underline strikethrough | subscript superscript | code highLight color | undo redo’,}
eatos
2
Ok, I just went through the “editor-actions.js” file and there seems to be no option for “code” functionality at all.
Could someone please confirm if that’s the case cause that’s a core functionality for me? Thanks!
I’ve tried all the options, but the HTML editor does not appear.
How do I enable it? Can someone help?
{
toolbar: 'format | alignLeft alignCenter alignRight | link image | listBullet listOrdered | table hr | bold italic underline strikethrough | subscript superscript | code highLight color | undo redo',
}
{
"editor": {
"plugins": "code link image lists table hr",
"toolbar": "undo redo | bold italic underline | alignleft aligncenter alignright | bullist numlist | link image | table hr | code",
"menubar": "edit insert view format tools"
}
}
{
"editor": {
"plugins": "code",
"toolbar": "code"
}
}