diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-01-16 08:23:42 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-01-16 08:23:42 +0000 |
| commit | c82bd01cdd2eabcbf00ea99e1cddc578ce91b455 (patch) | |
| tree | 047a6177e1f299213c34df69d866b82b3b57d450 | |
| parent | 584075bc0c9e3e1309dafdc0b9dcb99f20a5d18a (diff) | |
| download | webtrees-c82bd01cdd2eabcbf00ea99e1cddc578ce91b455.tar.gz webtrees-c82bd01cdd2eabcbf00ea99e1cddc578ce91b455.tar.bz2 webtrees-c82bd01cdd2eabcbf00ea99e1cddc578ce91b455.zip | |
Tell CKeditor not to convert htmlentities
| -rw-r--r-- | resources/views/modules/ckeditor/ckeditor-js.phtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/views/modules/ckeditor/ckeditor-js.phtml b/resources/views/modules/ckeditor/ckeditor-js.phtml index d443da103f..8dcc31172b 100644 --- a/resources/views/modules/ckeditor/ckeditor-js.phtml +++ b/resources/views/modules/ckeditor/ckeditor-js.phtml @@ -11,6 +11,9 @@ CKEDITOR.config.removePlugins = "forms,newpage,preview,print,save,templates,flash,iframe"; CKEDITOR.config.extraAllowedContent = "area[shape,coords,href,target,alt,title];map[name];img[usemap];*[class,style]"; + // Do not convert é to é in the editor + CKEDITOR.config.entities = false; + // Activate the editor document.querySelectorAll("textarea.html-edit").forEach((node) => { CKEDITOR.replace(node.id); |
