Bug 24764: TinyMCE shouldnt do automatic code cleanup when editing HTML in News Feature
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 26 Mar 2020 22:46:26 +0000 (22:46 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 07:29:47 +0000 (08:29 +0100)
commit7d9842a7cc969571c53c9e1fafdc145bbd6036c7
tree86d9c9c0d03e5ead37d705b4891efb09793ae1e8
parentdaf033945746edb60d7b76ab69204d1e859fe3ed
Bug 24764: TinyMCE shouldnt do automatic code cleanup when editing HTML in News Feature

TEST PLAN:
1. Make a new news item and use the TinyMCE editor, click on the <> icon to go to the Source code editor
2. Add some HTML like <i class="fa fa-facebook-official" aria-hidden="true">TEST</i> and save it.
3. Go back in and notice that TinyMCE has changed it to: <p><em class="fa fa-facebook-official">TEST</em></p>
4. It should not auto clean up and also it should not autowrap with <p> tag.
5. Apply patch patch, and repeat step 2. Save again.
6. It should not have automatiicly changed any HTML or added any <p> wrapper.

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt