Questions tagged [tinymce]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
56 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 ...
Chaosxmk's user avatar
  • 338
2 votes
1 answer
266 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 ...
Chaosxmk's user avatar
  • 338
2 votes
2 answers
587 views

TinyMCE in Joomla 4: <custom-element> without automatically added <p>

Can someone please tell me how it becomes possible in TinyMCE that a custom HTML element e.g. <my-custom-element>text...</my-custom-element> when saving the article is NOT always forcibly ...
flea over stack's user avatar
1 vote
1 answer
27 views

Joomla wysiwyg keeps replacing certain sequences of numbers by asterisks on save

We have noticed that we are unable to save certain links in our articles if they contain a specific sequence of numbers. i.e. a link: https://www.nature.com/articles/s41893-020-00622-1 will be changed ...
Roman's user avatar
  • 11
0 votes
0 answers
289 views

Error 500 when drag & drop an image via tinymce

I have two domains pointing to the same joomla 3 : example1.com (main domain) and example2.com. When I edit an article in front via the main domain, the drag & drop of an image works well with ...
Lecraver's user avatar
1 vote
1 answer
95 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 "...
shenkwen's user avatar
  • 1,389
0 votes
0 answers
445 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 ...
maja's user avatar
  • 1
2 votes
1 answer
319 views

Is it possible to upgrade Tinymce to v5.x in Joomla?

The current latest Joomla! v3.9.14 (August 2019) The integrated tinymce is v4.5.11 Tinymce released the new V.5.0.0 in February 2019, including major improvements and a great new API I want to use ...
migli's user avatar
  • 121
1 vote
0 answers
136 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....
Liz.'s user avatar
  • 1,385
1 vote
1 answer
22 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 ...
Cowboy_Patrick's user avatar
0 votes
1 answer
1k 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 ...
Kuubs's user avatar
  • 345
1 vote
0 answers
116 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 ...
ABC Group's user avatar
2 votes
2 answers
118 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 ...
Lovntola's user avatar
  • 344
0 votes
2 answers
628 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 ...
Rob's user avatar
  • 173
0 votes
1 answer
73 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' );?> ...
user3774771's user avatar
0 votes
2 answers
394 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 ...
JamWill's user avatar
1 vote
1 answer
332 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 ...
AK_CCM's user avatar
  • 11
2 votes
1 answer
1k 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 ...
David Kooijman's user avatar
2 votes
1 answer
414 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&...
Kitase88's user avatar
  • 977
3 votes
5 answers
993 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 ...
Ruchika's user avatar
  • 415
1 vote
1 answer
273 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' , '...
Ruchika's user avatar
  • 415
5 votes
3 answers
1k 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 ...
Sam Potts's user avatar
  • 293
5 votes
2 answers
513 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 ...
Candlejack's user avatar
1 vote
3 answers
762 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 ...
B. Cafaro's user avatar
2 votes
3 answers
2k 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 ...
sifu's user avatar
  • 1,105
6 votes
2 answers
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 ...
jonboy's user avatar
  • 3,603
1 vote
2 answers
791 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 ...
Jacob Harris's user avatar
3 votes
1 answer
453 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 ...
Reverend2100's user avatar
6 votes
1 answer
3k 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/...
Borg777's user avatar
  • 157
2 votes
1 answer
2k 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 ...
republicca's user avatar
2 votes
1 answer
2k 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 ...
sifu's user avatar
  • 1,105
1 vote
3 answers
395 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: $...
turson's user avatar
  • 570
2 votes
1 answer
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.
aspirisen's user avatar
  • 183
6 votes
1 answer
360 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"> &...
cha's user avatar
  • 387
9 votes
4 answers
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 ...
Faye's user avatar
  • 1,348