Questions tagged [editor]

For questions related to the available content editors in Joomla! like TinyMCE, JCE, JCK,CKEditor...

Filter by
Sorted by
Tagged with
0
votes
1answer
39 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::...
0
votes
1answer
22 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 ...
0
votes
1answer
25 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
0answers
13 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 ...
3
votes
1answer
270 views

Joomla keeps wrapping content with user-visible p tags

I have observed the same behavior when installing Joomla from multiple so called Quick Start Packages embedding themes and plugins. Right now, I have installed, Basic Joomla running on a production ...
1
vote
1answer
28 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
0answers
36 views

JCE Editor: Is there a way to make sure there is only one font-size

My website let users submit article from front-end using JCE editor. The problem is they choose various font sizes for their texts, making the website look inconsistent. Is there a way to make sure ...
0
votes
2answers
133 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?
3
votes
4answers
3k views

How to display user profile fields on an article?

When using the TinyMCE editor, how can I display the username at the top of an article?
0
votes
0answers
20 views

Unable to save in gridbox editor

I'm trying to add/remove things from our homepage and where I would usually click 'save' in the top-left corner of the gridbox editor and see a little black box bottom-right confirming my changes are ...
1
vote
1answer
41 views

Frontend editor with save image uploading methods

I am trying to build a forum where users are allowed to upload and insert image into their posts. Surprisingly, this is not as easy as it seems. TinyMCE when used on frontend doesn't have the "...
1
vote
1answer
191 views

TinyMCE editor loaded through AJAX not working

I've built a form that calls for an editor to be loaded through AJAX, but when I insert the fetched contents I get only a <textarea>. If I hit the toggle editor button, then the editor gets ...
0
votes
0answers
34 views

Can I use JCE as frontend editor?

I am building a online forum using Stackidea's Easydiscuss. The build-in BBCode editor is quite outdated so I am thinking to use JCE as front-end editor for my users. I find it quite handy when doing ...
5
votes
1answer
1k views

Unpublish, Trash or Delete buttons in the Frontend

I want to create some of these buttons in the frontend List view. I added checkboxes to the table and used the Using_the_JToolBar_class_in_the_frontend tutorial to put Save and Cancel buttons. Also ...
1
vote
1answer
273 views

How to fix problem with relative path Joomla for a module using editor form field?

I have created one module in Joomla and added one form field of the type editor inside the manifest-XML. <field type="editor" name="myeditor" default="" buttons="true" hide="...
6
votes
2answers
403 views

Markdown editor like on stackexchange

As a regular user of stackexchange, I really like the markdown editor we have here. With some additional buttons it is really fun to write articles. On my Joomla page on the other hand, I usually use ...
0
votes
1answer
17 views

add Load Modulesbutton to text editor

i have created a portfolio component that use text editor , and i want add the Load Modules button unther the text editor , normaly it load the button automatickly on joomla articles .. also is there ...
0
votes
0answers
233 views

TinyMCE doesn't show content

After updating Joomla from 3.6.0 to 3.9.15, TinyMCE doesn't work. I just don't see any content in article edit. In console I have errors in tinymce.min.js: Uncaught TypeError: Cannot read ...
2
votes
3answers
3k views

Set up Default Upload path for uploading image in Joomla Default Editor

I have 3 components related to newtoys, usedtoys and refurbishedtoys in which different article post and details been submitted The Image folder has 3 subdirectories 1 image / newtoys 2 image / ...
1
vote
0answers
82 views

JCE plugin to add custom toolbar dropdown list

I am trying to add a dropdown menu in JCE editor. The dropdown will contain a list of items fetched from database. Please find the below code: (function () { tinymce.create('tinymce.plugins....
1
vote
1answer
21 views

No Documentation about onCustomEditorButton

I want to add a custom button to the TinyMCE editor. But the documentation about this feature is non-existsten as you can see here: https://docs.joomla.org/Plugin/Events/Editor#onCustomEditorButton ...
2
votes
2answers
40 views

How to stop Joomla 2.5 from disabling PHP

I need to stop Joomla from converting PHP code to a comment (or otherwise disabling it). I copied a working page with a basic [directory listing] function, and the duplicate wouldn't work. I am ...
2
votes
1answer
154 views

Add a custom layout for editor-xtd popup

Another post partially answered my question, but I want to know if and how would be possible to make use of addLayoutPath and setLayout in my editor-xtd plugin. Here's my plugin so far defined('...
0
votes
2answers
448 views

How can I load a minimal editor in a custom component form?

In my custom component form I have a text field that I want users to have the ability to add very simple styling to. I'm thinking bold, italic and link buttons. Is it possible to create and configure ...
3
votes
2answers
877 views

Make CodeMirror highlight PHP syntax

CodeMirror by default only highlights mixed-html syntax (i.e html, css and javascript) in Joomla. Many of us use custom plugins to run PHP inside modules and articles but CodeMirror doesn't highlight ...
2
votes
1answer
143 views

Getting Error “Call to undefined method Joomla\CMS\Editor\Editor::getContent”

I am upgrading one of my component to support Joomla 4 and I am getting this error in webpage Call to undefined method Joomla\CMS\Editor\Editor::getContent The code that throws this error is in ...
0
votes
2answers
60 views

How to bypass deny direct access to edit link

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so ...
1
vote
1answer
58 views

Joomla Custom-Component Select Field with Editor [closed]

I'm trying to make a dropdown box from my table (#__projectinfo) where I can choose, for example, an article and show in an editor ready-to-use, update or save. The objective is to choose an email ...
5
votes
1answer
391 views

How to make my Editor plugin (type: editors-xtd) survive after updates?

I have a project that I am writing a component, module, and editor plugin for. I have managed to piece together a rudimentary plugin that works with TinyMCE (at least) which: Displays a custom ...
0
votes
1answer
123 views

Joomla editor field type text not posted when submitted

I'm working on a custom joomla module. It has a form with an "editor" type field. The fields are defined in the related xml file: <form> <fields name="main"> <fieldset name=...
1
vote
1answer
209 views

Shortcut to insert non breaking space in TinyMCE?

I'm using Joomla and it's integrated TinyMCE editor. I would like to use a shortcut like shift+space or ctrl+shift+space to insert a non breaking space fast and simple instead of to have to click a ...
1
vote
1answer
36 views

Joomla 3 - Text area in Editor field breaks the Admin section

I have an editor field with some HTML code in it. The HTML code consists of a form and one of the form fields is a text area. When this code is added to the editor field, the Admin section of the ...
1
vote
2answers
106 views

Joomla 3 - How to set content of the editor field?

I have a editor field which I would like to populate with HTML content: <fieldset name="basic"> <field name="Code" type="editor" label="Code" description="" width="300" filter="safehtml" ...
7
votes
5answers
2k views

How to retrieve the CHANGED text from Joomla Editor?

I have a page that allows the user to edit the intro text of a particular article, and I'm using this code to allow them to do so: $editor = & JFactory::getEditor(); $params = array('smilies'=>...
7
votes
4answers
2k views

How do I preview an article in Joomla editor?

How do I preview an article? In Wordpress, there is a Preview button which pops up a window with how the page looks. In the Joomla editor page, I see this, with no links to a preview. I searched and ...
3
votes
5answers
892 views

Youtube Iframe tag stripped on saving

For Joomla 3.6.2, Trying to embed video - but iframe tags and the code in it are stripped on saving Did following 1 Check and removed iframe from prohibitor element in Tinmce editor in plugin ...
6
votes
2answers
4k views

Editor stripping iframe

Yes, another question about the stripping of HTML tags (this time TinyMCE). Joomla 3.4.1 / TinyMCE 4.1.7 This should be very simple, however due to the number of comments and questions/answers I see ...
1
vote
2answers
1k views

How to create a syntax highlighter for Joomla

What is Best syntax highlighter for Joomla? Geshi is not working fine in my site. How to integrate this style of syntax in Joomla 3 site? http://alexgorbatchev.com/SyntaxHighlighter/
2
votes
1answer
1k views

How to wrap selected blocks inside a custom html tag in article editor using TinyMCE

I have a situation where sometimes a block of paragraph texts or one single image needs to be wrapped in a special div. I am trying to figure out a way to do it without having to edit the HTML which ...
3
votes
1answer
2k views

Joomla Editor Form Field in content plugin - How to load editor-xtd?

On Joomla 3.2.3, I added some custom fields to core components using a plugin (like this). It's working fine but I'd like to add the editor-xtd buttons to the customs editors added. So my question is ...
2
votes
1answer
405 views

“/r/n” added between paragraphs in every editor field when uploading website

I currently develop my websites on a synology nas web station, but when I upload my website online, all editor fields (articles, modules and also my custom components) are modified with an added <p&...
2
votes
3answers
1k views

Enable 'Title' attribute for images with TinyMCE Editor

When inserting an image in an article using TinyMCE editor's, the popup that appears only has options for Image Source and Alt text but no way to add a title for the image. It seems like there is a ...
2
votes
1answer
59 views

Not proper output in Joomla editors while using CSS

My Joomla editors are not working properly. When I save any HTML in editor, it changes its inline CSS or show it without CSS. I should also mention that CSS is not blocked in the joomla backend in any ...
0
votes
1answer
125 views

Which Filter should be used for Editor

For Form Editor xml, should we use filter="safehtml" or filter="JComponentHelper::filterText" Pl advise - which is better filter and safe
1
vote
0answers
502 views

Using CodeMirror editor in custom component

I am trying to use CodeMirror as the editor for a field inside a component I am developing. I have specified the editor as codemirror in the form.xml file but I get a javascript error on the page: ...
1
vote
1answer
454 views

Joomla 3.6.2 won't save HTML Tags

After upgrading to Joomla 3.6.2 I cannot save a Custom HTML module or Article with any tags. Add a link via the Tiny MCE Editor, stripped out on save. Add through HTML, stripped out on Save. Try using ...
0
votes
1answer
204 views

How to globally justify text in multiple existing articles on a joomla 3 site?

I am trying to universally apply text justification to a number of existing articles. Is there some way to do this globally, or for all existing articles or do I have to go through the existing ...
1
vote
1answer
124 views

How to change size of editor

I am trying to change size of editor Code :- <field name="description" type="editor" class="editor" label="COM_CPEVENT_TITLE_DESCRIPTION" labelclass="cpevent-label ...
1
vote
1answer
262 views

Joomla editor not showing image, read more and insert module tab

Using below code to display editor $editor =& JFactory::getEditor(); $params = array( 'smilies'=> '0' , 'style' => '1' , 'layer' => '0' , 'table' => '0' , '...
2
votes
3answers
2k views

Height and Width are not considered for an editor Form Field

The XML code I have for the editor form field as <field name="note_desc" type="editor" filter="safehtml" label="Description" required="true" height="150" /> Irrespective of the ...