Bugzilla – Attachment 104965 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.08 KB, created by
Katrin Fischer
on 2020-05-15 18:52:28 UTC
(
hide
)
Description:
Bug 25519: [18.11] Fix missing dialog.css in TinyMCE editor
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-05-15 18:52:28 UTC
Size:
3.08 KB
patch
obsolete
>From 79797502ac5f04c01af1e7665d92eb368cc5546d 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. >--- > 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 d55512ef27..c8f211b375 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