]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 15:58:49 +0000 (17:58 +0200)
commit27fce8b0c2575021400023d9a7460adef20dadd6
treea4886886ad48ed855ca9a7adda94c34b6c76ea9a
parent8f071b01f5c851a6b066e7084643bd6430e6e8d5
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt