]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 13 May 2020 21:48:59 +0000 (21:48 +0000)
commit0d06d789f7fa6dfaee7b208d2775a3f51e60477d
tree4c70c78a78a8eaefce46aebc8ef42d8d61042552
parent2f48fb0d38334d0d5fd241f4c0a05b825b52fbf6
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 0b7d3b4331c69238ae04fdb895baeae9ce0742cf)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt