Questions tagged [editor]
For questions related to the available content editors in Joomla! like TinyMCE, JCE, JCK,CKEditor...
77 questions
0 votes
0 answers
39 views
Editor Field Not Showing Custom Field Buttons in Joomla Form
I'm working on a Joomla component and have defined an <editor> field in my form XML as follows: <field name="enterthedetails" buttons="true" filter="\...
0 votes
2 answers
360 views
J5. Access editor instances in JavaScript
In JavaScript and J4, to get an editor object from the collection of objects with all editor instances running I use: let editor = Joomla.editors.instances[myEditorName]; I can see Joomla object in ...
1 vote
1 answer
108 views
Show article title in browser tab of article editor (Joomla 4)
When editing articles in Joomla 4, the browser tab shows "Articles: Edit - [site name]". This means that all articles show the same text in the browser tab, which is not very helpful if one ...
2 votes
0 answers
89 views
TinyMCE editor assuming same tag and class after added embedded iframe
I created a plugin that allows for the embedding of iframes. The iframe is wrapped with a <div> that uses Bootstrap's ratio classes to keep everything responsive to an acceptable degree. The ...
2 votes
1 answer
179 views
403 error front end editing when HTML comments are in the content
I have a site I'm troubleshooting at the moment where articles won't save via the front end and return a 403 error when you either Save or Cancel editing. After whittling down potential causes, this ...
0 votes
0 answers
207 views
How to use emoji picker plugin from editor in Joomla in a textarea field?
I need to use the emoji picker plugin from editor to add emojis in a textarea field. Is it possible? It's for my chat component: https://extensions.joomla.org/extension/communication/chat/tabapapo/
2 votes
1 answer
407 views
Disable the save warning on TinyMCE editors
I've programmed a modal with a TinyMCE editor inside, where it's value is saved via ajax, but when leaving the page there's still the warning Changes you made may not be saved. Is there a function or ...
1 vote
1 answer
281 views
PDF file upload only works in JCE (Joomla 3.10.6)
I'm puzzled by why I can only upload PDFs from within the editor when I use JCE. The site I'm working on is using YOOtheme Pro and if I try to add a PDF as a link in a gallery element it "...
5 votes
1 answer
963 views
How to properly display editor instance in Joomla 4
I'm currently updating my component to work in Joomla 4, and I've run into an issue with editors. I previously used this: $editor = JFactory::getEditor(); $editor->display('text', $this->item-&...
1 vote
1 answer
309 views
Use Text-Editor in UIkit Modal (Module Backend)
For a new Project i would like to have an editor instance inside a modal popup (click on an object to add / edit details). I have my Custom Field that loads an editor like so: $editor = JEditor::...
1 vote
1 answer
190 views
Front end editing, publishing and images tab have disappeared
I'm using Joomla! front end editing but the only tab available is "content". The publishing and images tabs have disappeared. They were working so I must have changed something but I can't ...
1 vote
0 answers
59 views
How can I update a Joomla form editor box contents from Javascript?
I have a form with lots of fields including editor fields that display using jce/codemirror. I have buttons that call the submitbutton.js which builds a string from other elements in the form. I can ...
0 votes
2 answers
143 views
Getting Editor to show on front (site) of website
I'm trying to display to users an editor in the front end of my website (in a logged in area) I have: // IMPORT EDITOR CLASS jimport( 'joomla.html.editor' ); // GET EDITOR SELECTED IN GLOBAL SETTINGS ...
1 vote
1 answer
264 views
Display an editor in the front end using a module
I'm trying to display an editor using a module in the front end. I want visitors to be able to edit and create articles but from a module not a component. I've tried: jimport( 'joomla.html.editor' ); $...
0 votes
2 answers
979 views
Is there a way to show tabs and spaces in Codemirror?
I can't see whether the gaps at the beginning of new lines in Codemirror (in Joomla, in my case) are spaces or tabs. Is there a way to display them?