Bugzilla – Attachment 115715 Details for
Bug 26942
TinyMCE in the News Tool is still doing some types of automatic code cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26942: Allow style and link tags in NewsEditor TinyMCE
Bug-26942-Allow-style-and-link-tags-in-NewsEditor-.patch (text/plain), 1.80 KB, created by
Lucas Gass (lukeg)
on 2021-01-22 22:53:49 UTC
(
hide
)
Description:
Bug 26942: Allow style and link tags in NewsEditor TinyMCE
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2021-01-22 22:53:49 UTC
Size:
1.80 KB
patch
obsolete
>From 9ff679b5cd4f441a93e822b4aa9a71eb2d910286 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 22 Jan 2021 22:50:51 +0000 >Subject: [PATCH] Bug 26942: Allow style and link tags in NewsEditor TinyMCE >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >index 2ad87f82a6..2f98f942b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >@@ -376,6 +376,8 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > menubar : "file edit view insert format tools table", > mode : "specific_textareas", > plugins : "autoresize table hr link image charmap lists code emoticons", >+ extended_valid_elements:"style,link[href|rel]", >+ custom_elements:"style,link,~link", > toolbar : [ > "formatselect | bold italic | cut copy paste | alignleft aligncenter alignright | outdent indent | image link unlink anchor cleanup hr", > "table | bullist numlist | undo redo | removeformat | emoticons charmap | forecolor backcolor | code visualaid help" >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26942
:
115715
|
118885
|
118902