?
avatar brianteeman
brianteeman
11 Jan 2020

Steps to reproduce the issue

Tinymce will load the contents of the editor.css file found in templates/system

By doing this we get various styling applied to the tinymce dropdown menus AND to the pagebreak and readmore lines

The last few lines of that file are

div.caption { padding: 0 10px 0 10px; }
div.caption img { border: 1px solid #CCC; }
div.caption p { font-size: .90em; color: #666; text-align: center; }
/* STYLES FOR JOOMLA! EDITOR */
hr#system-readmore { border: red dashed 1px; color: red; }
hr.system-pagebreak { border: gray dashed 1px; color: gray; }

Yet only two of those are in the menu
image

And the last one is not usable

avatar brianteeman brianteeman - open - 11 Jan 2020
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jan 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Jan 2020
avatar Fedik
Fedik - comment - 11 Jan 2020

interesting, if make it .system-pagebreak { border: gray dashed 1px; color: gray; } then it work

upd, I suspect because hr cannot have a content/text, so it not possible to be used in this way,
it somehow need to be hidden from the menu? maybe

avatar brianteeman
brianteeman - comment - 14 Jan 2020

updating to tinymce 5.1 it now has the disabled icon on the hr which resolves that issue

image

Still raises the question about the others which all have a space in them

avatar Quy
Quy - comment - 6 Sep 2020

Please confirm it is no longer an issue. Thanks.

27475

avatar Fedik
Fedik - comment - 6 Sep 2020

btw, please try change to:

body  hr#system-readmore  { border: red dashed 1px; color: red; } 
body  hr.system-pagebreak { border: gray dashed 1px; color: gray; } 

then it should disappear from the menu, in theory

avatar Quy Quy - change - 2 Jan 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-01-02 16:24:52
Closed_By Quy
avatar Quy Quy - close - 2 Jan 2021
avatar Quy
Quy - comment - 2 Jan 2021

Please test PR #31828

avatar brianteeman
brianteeman - comment - 2 Jan 2021

Completely unrelated to that PR as this is for the editor.css file located in templates/system and is not dependant on the frontend template

avatar Quy Quy - change - 2 Jan 2021
Status Closed New
Closed_Date 2021-01-02 16:24:52
Closed_By Quy
avatar Quy Quy - reopen - 2 Jan 2021
avatar Quy
Quy - comment - 5 Jun 2021

Is this still an issue?

avatar brianteeman brianteeman - close - 5 Jun 2021
avatar brianteeman
brianteeman - comment - 5 Jun 2021

fixed elsewhere

avatar brianteeman brianteeman - change - 5 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-05 21:42:16
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment