Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [tinymce]

TinyMCE is the default editor in Joomla for both front-end and back-end users.

Filter by
Sorted by
Tagged with
9
votes
4answers
3k views

JCE / TinyMCE - Keeps attempting to Fix Valid & Invalid HTML

Of all the Joomla editors we've used, JCE has best suited our purposes and clients. But there's a few problems with the editor that can cause problems when we code something, then it's toggled to ...
6
votes
2answers
2k 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 ...
6
votes
1answer
312 views

Empty tag is replaced with unicode replacement character

I'm saving rich texts from my custom component. It uses wysiwyg editor. Therefore there are html codes also. <table> <tbody> <!-- More here --> <tr> <td colspan="5"> &...
5
votes
3answers
726 views

Editor stripping Script

I have a form which has been created in a CRM and then the code copied in to the website and updated to make it look and read better. However, when I copy the code in, the "script" at the bottom of ...
5
votes
1answer
2k views

How to add web font to tinyMCE?

I'm on Joomla 3.4. I have checked JCE editor and there's a way to simply add in the configuration an option so that each time I click on the option from "font family" it will add, in line, the custom/...
5
votes
2answers
402 views

What are the JS dependencies of the Joomla frontend editor?

The Problem I'm trying to implement a functioning frontend editor within my Joomla template which has been developed in-house at my company. For the most part it works - a user can make basic text ...
3
votes
5answers
670 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 ...
3
votes
1answer
344 views

P tags appearing when I insert HR

Whenever I save an Article using TinyMCE or JCE, I have Paragraph tags inserted below any HR's I have in the Article. Initially, I was getting 4(!) Paragraph (open and close) tags after I saved, but ...
2
votes
3answers
904 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
377 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
1answer
1k views

How to add button to TinyMCE after init

I need to add some functianality to Joomla's editor. The idea is to add a button to the editor to add a gallery's HTML code. But it seems that I can't change the editor after init.
2
votes
2answers
55 views

Remove textfilter partially for <link> and <meta> not working

I want to add <meta> and <link> tags in the source code from TinyMCE to add schema.org declarations. Tiny MCE is set to use the filter from Joomla. The Joomla textfilter is set to "No ...
2
votes
1answer
599 views

Can't insert iframe in custom created component tinyMCE field

I'm building my own component, and trying to insert a youtube embed url in a tinymce editor field. However, the editor keeps removing the iframe tags from the text. I followed the recommended ...
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 ...
1
vote
1answer
19 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 ...
1
vote
1answer
133 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
228 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' , '...
1
vote
2answers
505 views

TinyMCE is deleting emoji and everything after

Whenever I embed a tweet with an emoji into a k2 field and save, everything after the first emoji is deleted. Is there some way I can make TinyMCE recognize emoji? Here's a picture of before/after ...
1
vote
1answer
1k views

Creating custom plugin for tinymce

I'm trying to create my own character counter plugin for the tinymce editor in Joomla 3, which would look exactly like the wordcount plugin. I already have the javascript code for the plugin, and this ...
1
vote
3answers
155 views

Insert custom text to JCE using Javascript

How to insert custom text to JCE v. 2.3.4.4 using javascript? I have opened the page source and saw that the editor is an iframe. Text is in <body id="tinymce">. I was trying something like: $...
1
vote
0answers
52 views

Changing default editor in component to tinyMCE

I'm trying to integrate tinyMCE with my component but I'm getting issues with embedding tinyMCE JS and switching it from default. I've tried removing WYSIWYG.attach and replacing ...
1
vote
3answers
476 views

TinyMCE Articles Lose Formatting

When editing an article, and after clicking save I lost all the formatting, hyperlink etc... I tried to change the text filters to NO FILTERS for the superuser and all other also, but the problem was ...
0
votes
2answers
155 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 ...
0
votes
2answers
161 views

changing default article font colour

I'm having trouble with my article font colour. The Default Font colour in TinyMce is "No Colour". And I have to constantly change the font colour to black. It is not too much of a problem, but it has ...
0
votes
1answer
24 views

Change the standard path of images in TinyMCE, where can I find the init of this editor?

I know I can change the paths of tinyMCE to add a subdomain, see here: https://stackoverflow.com/questions/56577520/change-default-image-path-in-tinymce Only problem now is where can I find this ...
0
votes
1answer
40 views

CheckToken() error when TinyMCE init

I have a form, which add some data to DataBase. <form> <input type="text" name="mydata" /> <textarea name="mytext"></textarea> <?php echo JHtml::_( 'form.token' );?> ...