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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sat, 24 Apr 2021 13:27:22 +0000 (13:27 +0000)
commita22801014a7b4eebdb2395a04e46eec1d18468ff
treeef33ddfc0c5e873d5a61ea3654ab777115c3ba50
parentd373a884bf780282ff359092ccafc78d57844d44
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>
(cherry picked from commit 6eb861dc61444e04200295967e77be514aa73a5f)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt