Open gioman opened 1 year ago
Hiya! This issue has gone quiet. 👻 We get a few questions in the bug tracker, we are currently slowly closing issues. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Thanks for being a part of the Lizmap community! 🦎
Not stale. The original question is still valid.
@gioman the editor "CKEditor" is provied by jelix, but it seems you can "live" edit its configuration in the file lizmap\www\assets\jelix\js\jforms\htmleditors\ckeditor_ckdefault.js (it seem the "default" is used in most case) for example by adding fontColor feature https://ckeditor.com/docs/ckeditor5/latest/features/font.html Warning : this file will be overwritten to its original content on each update
PHP content won't be interpreted.
the editor "CKEditor" is provied by jelix, but it seems you can "live" edit its configuration in the file lizmap\www\assets\jelix\js\jforms\htmleditors\ckeditor_ckdefault.js (it seem the "default" is used in most case) for example by adding fontColor feature https://ckeditor.com/docs/ckeditor5/latest/features/font.html
@nworr thanks for the tip
Warning : this file will be overwritten to its original content on each update
That is too bad: I really think there is a clear use case to allow platform managers to enable some more functions of the WYSIWG editor. As it stands now is quite basic and while is ok for most, allowing to twak html/css manually is really important.
PHP content won't be interpreted.
Do you mean the content of what is written in the editor?
What is the question?
Hi all,
What is the proper way to extend (add new tools, like font color, or the code editor) the WYSIWYG editor based on ckeditor available in the LMWC backend, to customize the landing page?
Also > if it is possible to enable the code editor, then would PHP be correctly parsed or it will be rendered as normal text?
Regards
Versions
3.6.4
Check Lizmap plugin
QGIS server version, only if the section above doesn't mention the QGIS Server version
No response
Operating system
Ubuntu 22.04, desktop and server
Browsers
Firefox, Chrome
Browsers version
Latest
Relevant log output
No response