W.I.P. implementing TinyMCE editor and deprecating CKEditor:

- Add code plugin in order to be able to edit html script
This commit is contained in:
Hadi Nategh 2018-10-23 10:28:13 +02:00
parent 236006b795
commit 987727f5fa

View File

@ -122,7 +122,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2
"visualblocks visualchars fullscreen image link media template "+ "visualblocks visualchars fullscreen image link media template "+
"codesample table charmap hr pagebreak nonbreaking anchor toc "+ "codesample table charmap hr pagebreak nonbreaking anchor toc "+
"insertdatetime advlist lists textcolor wordcount imagetools "+ "insertdatetime advlist lists textcolor wordcount imagetools "+
"colorpicker textpattern help paste" "colorpicker textpattern help paste code"
], ],
toolbar: "formatselect | fontselect fontsizeselect | bold italic strikethrough forecolor backcolor | "+ toolbar: "formatselect | fontselect fontsizeselect | bold italic strikethrough forecolor backcolor | "+
"link | alignleft aligncenter alignright alignjustify | numlist "+ "link | alignleft aligncenter alignright alignjustify | numlist "+
@ -210,7 +210,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2
case 'advanced': case 'advanced':
settings.toolbar = "formatselect | fontselect fontsizeselect | bold italic strikethrough forecolor backcolor | "+ settings.toolbar = "formatselect | fontselect fontsizeselect | bold italic strikethrough forecolor backcolor | "+
"link | alignleft aligncenter alignright alignjustify | numlist "+ "link | alignleft aligncenter alignright alignjustify | numlist "+
"bullist outdent indent | removeformat | image" "bullist outdent indent | removeformat code| image"
break; break;
} }
return settings; return settings;