[Koha-bugs] [Bug 11584] Add wysiwyg editor to system preferences dealing with HTML

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 14 09:02:42 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11584

--- Comment #10 from David Cook <dcook at prosentient.com.au> ---
I'm working on changing the system preferences and wrapping the WYSIWYG editor
with a a system preference...

I don't think WYSIWYG editors necessarily make sense everywhere you can use
HTML though. If the HTML is going into a <div>, then it's probably OK. However,
if the HTML is a fragment going into an element like a <ul>, we should be
careful.

For instance, the HTML from "IntranetNav" should probably just be a <li>
element, which TinyMCE can't do... as it'll "fix it" by wrapping it in a
<ul>... even if you edit it by hand using the HTML button. 

By contrast, you can put pretty much anything in "IntranetmainUserblock" and
it'll be all right.

--

Yes: 
IntranetmainUserblock
SelfCheckHelpMessage
NoLoginInstructions
opaccredits
opacheader
OpacMainUserBlock
OPACMySummaryHTML
OpacNav
OpacNavBottom
OpacNavRight
OPACNoResultsFound
OPACResultsSidebar
PatronSelfRegistrationAdditionalInstructions



No:
IntranetNav (HTML needs to be <li> elements)
OpacCustomSearch (would require hand-coding of the form and input elements...)
OPACSearchForTitleIn (HTML needs to be <li> elements)

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


More information about the Koha-bugs mailing list