Bug 26942: Allow style and link tags in NewsEditor TinyMCE
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 22 Jan 2021 22:50:51 +0000 (22:50 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 7 Apr 2021 13:18:30 +0000 (15:18 +0200)
commit6eb861dc61444e04200295967e77be514aa73a5f
treeb13876d5c6dd17d1247d91e653f5f3ed924fe190
parent8244792f264baaa2a81afd90fde3b74755d4e549
Bug 26942: Allow style and link tags in NewsEditor TinyMCE

To Test:
-Make sure the sys pref 'NewsToolEditor' is set to TinyMCE
-Go to any news item and add this line:  <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
-Save the news item
-Re-open the same news item again in TinyMCE.
-The editor has removed that line. Annoying!
-Apply patch
-Try again, the <link> should stay now

Signed-off-by: Amit Gupta <amitddng135@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 27fce8b0c2575021400023d9a7460adef20dadd6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt