5
votes
Accepted
Editor stripping iframe
Maybe I misunderstand your question, but you say:
I copy some youtube embed code > paste it into TinyMCE editor > it appears like this
and
I immediately click toggle editor > it appears like ...
4
votes
How to display user profile fields on an article?
You can't display dynamic data this way through an article by default, as the editors won't process php.
However, to your rescue, there are plugins for this.
You can install Regular Lab's Sourcerer ...
4
votes
Accepted
Different WYSIWYG editors for each user?
Yes no problem at all. To do this:
Go to to your Joomla! back-end,
Install the editors you need via Extensions > Manage > Install,
Then for each user you will have to set their editor. To do this go ...
3
votes
Accepted
How to globally justify text in multiple existing articles on a joomla 3 site?
Please don't do this. Justified text on the web looks horrible, and there's no legitimate reason for wanting to do this globally.
If you really don't care about aesthetics, good typography or user ...
3
votes
Editor stripping iframe
I had a lot of trouble with this until I realised you have to select the correct TinyMCE panel set before editing the Prohibited elements. Choose the set that is assigned to administrator and editor.
...
3
votes
Accepted
Make CodeMirror highlight PHP syntax
What you need:
Notepad++ -PC
Komodo IDE -MAC
or any other text editor which will show line nos.
Tested on:
Joomla 3.x
Procedure:
You need to add some external JS files to your Joomla ...
3
votes
Youtube Iframe tag stripped on saving
From how to add an iframe
Log into your Joomla 3 administrative dashboard In the top menu,
click Extensions and then click Plug-in Manager
In the left menu under
Filter, click Select Type and then ...
3
votes
Accepted
Which Filter should be used for Editor
As far as I can tell from looking at the codebase, both end up filtering the code through JFilterInput::getInstance()->clean();, which checks the html is safe.
The main difference seems to be that ...
3
votes
Accepted
"/r/n" added between paragraphs in every editor field when uploading website
I ran into the same issue with a couple of Joomla instances. Did you export the local database and import in on your remote server using phpMyAdmin?
There's a bug in phpmyadminversion 4.6.5.1 that ...
3
votes
Accepted
How to make my Editor plugin (type: editors-xtd) survive after updates?
Normally, the plugin would open a list of items. In this case, the component doesn't have the model/view for the items. So you have to create them.
As a bare minimum, the model must contain ...
3
votes
Accepted
How to stop Joomla 2.5 from disabling PHP
FIXED:
The culprit was a personal editor choice set in the user profile section.
I changed this to Editor - None, resubmitted the disobedient code (without comment tags), and it worked like a charm!
...
3
votes
Accepted
403 error front end editing when HTML comments are in the content
After contacting the hosting company, they were further able to look deeper on their server logs and identified that there was a Mod Security rule that was firing which was blocking the processing of ...
2
votes
Accepted
Switching the editor while editing an article?
If it's simply syntax highlighting and pretty print for HTML, then Codemirror would be best for you.
If did find a plugin called Editor Switcher than allows you to switch whilst editing.
Once ...
2
votes
How to retrieve the CHANGED text from Joomla Editor?
The question by "GDP" was
"How does one get to the edited text that the user wants to save, in order to be posted?.
"elk" got me started on the right path but I resorted to jQuery to actually get ...
2
votes
How to display user profile fields on an article?
Download, install and enable a plugin name DirectPHP. This plugin gives the facility to write PHP code in article. After these in your article write following code.
<?php
jimport( 'joomla.user....
2
votes
What are the JS dependencies of the Joomla frontend editor?
If you are wanting to add in the additional editor features like images and whatnot there is more to it that just added the js files.
Personally I would recommend using Joomla's native method of ...
2
votes
Accepted
Enable 'Title' attribute for images with TinyMCE Editor
The current version of TinyMCE (v4.4.3) now seems to have this option enabled (see below).
2
votes
Accepted
Joomla 3.6.2 won't save HTML Tags
It is because you have not set the text-filtering to "no filtering".
Go to Global Configuration -> Text Filter : set the filtering for the desired type of user to "No-filtering".
2
votes
Accepted
Media field use local or remote file
If you want to use external images for intro or full article image, then you can just paste the image's url in that field.
Similarly, if you want to use external image inside your article body, you ...
2
votes
How do I create an Editor Add-In?
Depending on the Editor there are several ways to extend the editor in Joomla — I'm going to assume you're talking about editors-xtd plugins. These are the buttons found below the main editor area.
...
2
votes
Youtube Iframe tag stripped on saving
I am a big fan of the NoNumbers Sourcerer plugin. It allows you to put any type of code into articles and custom modules very easily and the free version will do what you need. There have been ...
2
votes
How to create a syntax highlighter for Joomla
The Geshi code highlighter was removed from Joomla on or around Joomla 3.3.
There are a few third party extensions in the Joomla Extensions Directory that can enable code highlighting:
...
2
votes
How to create a syntax highlighter for Joomla
Codemirror is included in joomla.
You can use the formfield "editor" and select codemirror with editor="Codemirror". Take a look at https://docs.joomla.org/Editor_form_field_type
2
votes
Accepted
Divide an article into several divisions by adding <div> tags
You can place all of your custom css definitions in yourjoomla/templates/yourtemplate/css folder if you create a custom.css or user.css file in this folder. Since this does not always work with every ...
2
votes
Accepted
Getting Error "Call to undefined method Joomla\CMS\Editor\Editor::getContent"
As it is explained in core.js: instead of using getContent() method you should use:
To get the current editor value:
Joomla.editors.instances['jform_articletext'].getValue();
Where ...
2
votes
Accepted
Add a custom layout for editor-xtd popup
Using com_ajax:
Rename PlgButtonVimeo class to PlgEditorsXtdVimeo.
Point button link to com_ajax:
$link = 'index.php?option=com_ajax&plugin=vimeo&group=editors-xtd&format=...
2
votes
No Documentation about onCustomEditorButton
What you've currently link to in your question is a plugin event for a custom editor button, not for the actual creation of one.
To create a custom button, check the following directory:
ROOT/...
2
votes
TinyMCE editor loaded through AJAX not working
After spending more time searching for possibilities, I found that Joomla includes the file /media/editors/tinymce/js/tinymce.min.js, and upon opening the uncompressed version of the file and reading ...
2
votes
Frontend editor with save image uploading methods
Latest releases of Easy Discuss actually offers this feature. Once you upload the image you can insert anywhere in your message.
Also if you want to keep using JCE, you may just configure the ...
2
votes
Accepted
Front end editing, publishing and images tab have disappeared
This was caused by disabling mootools to try and increase the performance on the site. Pesky mootools.
And to get the images/links tab you need to set it in the options.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
editor × 75joomla-3.x × 32
tinymce × 17
plugin × 9
front-end × 7
jce × 6
form × 5
javascript × 4
form-fields-types × 4
joomla-4.x × 4
editing × 4
component × 3
module × 3
development × 3
custom-component × 3
xml × 3
php × 2
joomla-2.5 × 2
articles × 2
administrator × 2
jform × 2
custom-module × 2
content × 2
joomla-4 × 2
modal × 2