Bugzilla – Attachment 105732 Details for
Bug 25519
[18.11] TinyMCE editor pop ups broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25519: [18.11] Fix missing dialog.css in TinyMCE editor
Bug-25519-1811-Fix-missing-dialogcss-in-TinyMCE-ed.patch (text/plain), 3.13 KB, created by
David Nind
on 2020-06-11 11:07:08 UTC
(
hide
)
Description:
Bug 25519: [18.11] Fix missing dialog.css in TinyMCE editor
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-06-11 11:07:08 UTC
Size:
3.13 KB
patch
obsolete
>From fbee51cb0b43cf175d53df6ac67a69fef5231376 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Fri, 15 May 2020 20:40:44 +0200 >Subject: [PATCH] Bug 25519: [18.11] Fix missing dialog.css in TinyMCE editor > >When using the TinyMCE editor in 18.11 all functionalities >used from popups (anchors, images, links) are broken because >dialog.css is missing. > >To test: First verify the problem on the following pages: > >1) Tools > News >- Add or edit a news entry > >2) Administration > Libraries >- Add or edit OPAC info for one of the libraries > >3) Administration > System preferences >- Activate UseWYSIWYGinSystemPreferences >- Try the editor on any of the HTML preferences like OpacMainUserBlock > >Apply the patch and repeat. The styling should be back, which especially >makes adding links usable again. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 1 + > 3 files changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >index 066502b2db..c16ec7be87 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc >@@ -13,6 +13,7 @@ function wysiwyg_change (ed){ > > tinyMCE.baseURL = "[% interface | html %]/lib/tiny_mce"; > tinyMCE.init({ >+ popup_css_add : "[% interface %]/lib/tiny_mce/themes/advanced/skins/default/dialog.css", > setup : function(ed) { > ed.onInit.add(function(editor){ > [%- >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 4c23852185..4b93d1b3c9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -286,6 +286,7 @@ > }); > tinyMCE.baseURL = "[% interface | html %]/lib/tiny_mce"; > tinyMCE.init({ >+ popup_css_add : "[% interface %]/lib/tiny_mce/themes/advanced/skins/default/dialog.css", > mode : "textareas", > theme : "advanced", > content_css : "[% interface | html %]/[% theme | html %]/css/tinymce.css", >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 d73f2c7c0a..fce35bc8ae 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 >@@ -271,6 +271,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> > <script type="text/javascript"> > tinyMCE.baseURL = "[% interface | html %]/lib/tiny_mce"; > tinyMCE.init({ >+ popup_css_add : "[% interface %]/lib/tiny_mce/themes/advanced/skins/default/dialog.css", > mode : "textareas", > theme : "advanced", > convert_urls : false, >-- >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 25519
:
104965
| 105732