[Koha-bugs] [Bug 24764] New: TinyMCE shouldnt do automatic code cleanup when editing HTML in News Feature

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 28 20:16:37 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24764

            Bug ID: 24764
           Summary: TinyMCE shouldnt do automatic code cleanup when
                    editing HTML in News Feature
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Currently if you use the HTML option in the news tool TinyMCE does automatic
code cleanup and this can be problematic. 

If I enter into the HTML field:

<i class="fa fa-facebook-official" aria-hidden="true"></i>

The editor thinks this is nothing and won't update code at all. 

IF I enter:

<i class="fa fa-facebook-official" aria-hidden="true">TEST</i>

the editor changes it to: 

<p><em class="fa fa-facebook-official">TEST</em></p>


It would be better if the feature didn't auto cleanup HTML.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list