[Koha-bugs] [Bug 21131] New: Changing and restoring a WYSIWYG preference can result in unexpected behaviour

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 30 06:25:16 CEST 2018


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

            Bug ID: 21131
           Summary: Changing and restoring a WYSIWYG preference can result
                    in unexpected behaviour
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

If you're using the WYSIWYG editor for system preferences, the TinyMCE editor
will update the system preference text editor when the content is different to
the content that the editor started with when the page was loaded.

If you change the content and then change it back to the original content, the
editor will actually use the last "different" content.

Eg:

TinyMCE Editor: 123a
Textarea: 123a

TinyMce Editor: 123
Textarea: 123

TinyMce Editor: 123a
Textarea: 123

This is due to (my) overzealous use of the "TinyMCE.isDirty()" function. I'll
just strip it out and everything will be fine.

-- 
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