Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2144

Administration Joomla! 5.x • Re: Strange behavior of readmore in text

$
0
0
We did some further investigation on this matter.
Because the 2 most used editors in Joomla do something different with The readmore button you get strange stuff.
Sometimes it works sometimes it doesn't.
If you use jce you get <hr id="system-readmore" />
If you use tinymce you get <hr id="system-readmore">
When you are developing a component, like we do now for 10 years, this is not handy...
In, even the latest edition of the jce editor, it is with: <hr id="system-readmore" /> what should be without the /

There are 2 js files in jce that create this issue:
tinymce.js in media/com_jce/editor/tinymce and
plugin.js in media/com_jce/editor/tinymce/cleanup
It can be easily corrected there by the way.

In both those files is the problem: if you have a <hr id="system-readmore"> in your description it gets changed to
<hr id="system-readmore" /> by jce, always, wich is not what you want.
Especialy when you use the 2 editors at the same time, tinymce as global setting and for example jce for the admins, you get strange things, and then it gets very difficult to make it work as planned in a component.

Statistics: Posted by jswebdesign — Wed Dec 04, 2024 5:31 pm



Viewing all articles
Browse latest Browse all 2144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>