?
avatar xakepok
xakepok
10 Sep 2017

Steps to reproduce the issue

Go "Administrator area" -> plugins -> TinyMCE plugin, and insert any tag (or any text) in field "Valid elements".
Go to editor in any component's settings, where exist Tiny MCE editor.
Edit text in editor and save (or click Initial code button).

Expected result

Normal formatting code.

Actual result

Formatting in editor is crash.

System information (as much as possible)

Joomla 3.7.5.

Additional comments

If field "Valid elements" in plugin's settings is empty, plugin works normal.

avatar xakepok xakepok - open - 10 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 10 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Sep 2017
avatar brianteeman
brianteeman - comment - 10 Sep 2017

i cannot replicate this - what are you typing in the field
please post a screenshot so we can see what you mean by "Formatting in editor is crash.~"

avatar xakepok
xakepok - comment - 10 Sep 2017
  1. I create my component for Joomla, he's good working.
  2. One of any view's component in admin panel have editor field. I wan't add video in my editor.
  3. I go TinyMCE settings and add 'iframe' in field "Valid elements".
  4. After this actions i back to editor in view, editing this (add bold-style text or add image). It's correctly show in editor.
  5. But after click on save button, text in editor show as simple text, without formatting, has no images and strong elements. Just text.
avatar brianteeman
brianteeman - comment - 10 Sep 2017

ah i see your problem now. if you enter anything in the "valid elements" field then they are the only valid elements. in your case you want to add iframe to the current valid elements so you should enter it in the Extended Valid Elements field which ADDS anything entered there to the standard list of valid elements

avatar xakepok
xakepok - comment - 10 Sep 2017

It's translation problem (I use russian language) or global problem?

avatar brianteeman
brianteeman - comment - 10 Sep 2017

i have no idea what it says in russian but it is correct in english

avatar xakepok
xakepok - comment - 10 Sep 2017

In russian language field's label is bad.
First field is good.
2'th and 3'th field's label is not corrrectly. It's not meaning.
2'th field good label - is "Разрешено использовать только следующие теги"
3'th field - "Кроме запрещённых разрешить следующие теги"
2017-09-10_22-14-45

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Sep 2017
Category Plugins
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Sep 2017
Status New Discussion
avatar brianteeman
brianteeman - comment - 11 Sep 2017

@infograf768 can you notify the russian translator please

@mbabker we need an easy process for this

avatar brianteeman
brianteeman - comment - 13 Sep 2017

Closing as not a bug in the joomla core. Hopefully the translators wil make the correction

avatar brianteeman brianteeman - close - 13 Sep 2017
avatar brianteeman brianteeman - change - 13 Sep 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-09-13 16:50:49
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment