Open spanner28 opened 4 years ago
Please do ignore the actual Html in the editor, it's a bit misleading, this in fact happens when clicking on edit to edit a project, the Html is displayed as-is.
One expects the rich text to be displayed and not the Html.
I managed to fix it with html_entities_decode on line 28 of lib/quilljs/richedit.view.php
<div id="<?php echo $this->id ?>-editor-container"><?php echo html_entity_decode($this->content) ?></div>
Before the fix it was just echoing the content.
<div id="<?php echo $this->id ?>-editor-container"><?php echo $this->content ?></div>
I can't solve this problem you raise (# 28). I do not understand why it does not respond with the proposed solution. It also doesn't work with: html_entity_decode ($ this-> content, ENT_COMPAT | ENT_HTML401, 'UTF-8') I suspect it cannot resolve my connection character set and collations. Is there a solution for this huge addedit.php problem? Thanks
The Html is displayed as is with the HTML entities displayed as if it were part of the formatted output. This only happens when editing an existing project.
It is expected that the HTML would be parsed and displayed as rich text in the editor when editing a project.