Keyword

Extra Field with TinyMCE

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 3 days ago #170430 by Pierre-Emmanuel DUBREUIL
Pierre-Emmanuel DUBREUIL created the topic: Extra Field with TinyMCE
Hello

I get a Javascript error when I want to have extra fields with rich editor:
Uncaught TypeError: Cannot read property 'plg_editor_tinymce' of undefined
    at HTMLTextAreaElement.<anonymous> (k2.backend.js?v=2.9.0&sitepath=/:1149)

I am using the last version of K2.

Any idea?


Thank you in advance!
Attachments:

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 2 days ago #170438 by Fotis
Fotis replied the topic: Extra Field with TinyMCE
It looks like the editor is not properly loaded. Did you make sure the relevant plugins for TinyMCE are actually published? It would also help if you could tell me what Joomla version you're using...


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 2 days ago - 2 weeks 2 days ago #170447 by Pierre-Emmanuel DUBREUIL
Pierre-Emmanuel DUBREUIL replied the topic: Extra Field with TinyMCE
Thank you for your answer!
Yes, the plugin looks to be well activated.
And it works for the main text content of the K2 element. I meet this issue only for extrafields.
Our Joomla version is 3.6.5


About our environment:

Database Version 5.5.5-10.0.32-MariaDB-0+deb8u1
PHP Version 5.6.33-0+deb8u1
Web Server nginx/1.6.2
WebServer to PHP Interface fpm-fcgi
Joomla! Version Joomla! 3.6.5 Stable [ Noether ] 1-December-2016 22:46 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Attachments:
Last Edit: 2 weeks 2 days ago by Pierre-Emmanuel DUBREUIL.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 2 days ago #170448 by Fotis
Fotis replied the topic: Extra Field with TinyMCE
Any particular reason you're not using Joomla 3.8.x or 3.9.x? Cause K2 v2.9.0 was not tested with Joomla 3.6.x...


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 1 day ago #170452 by Pierre-Emmanuel DUBREUIL
Pierre-Emmanuel DUBREUIL replied the topic: Extra Field with TinyMCE
OK... The update of Joomla version would require to check the behavior of all the plugins, which may be a big work !
So you think that is why we have TinyMCE working correctly in "Content" tab but not working in "Extra fields" tab?
Attachments:

Please Log in or Create an account to join the conversation.

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
1 week 4 days ago #170467 by Pierre-Emmanuel DUBREUIL
Pierre-Emmanuel DUBREUIL replied the topic: Extra Field with TinyMCE
Hi Fotis!
Any idea how could I fix that easily?
Thank you very much in advance!

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 4 days ago #170481 by Fotis
Fotis replied the topic: Extra Field with TinyMCE
It's a bug in TinyMCE. Your Joomla version was released in 2016. The bug was fixed in 2017 >> github.com/joomla/joomla-cms/pull/12561

Alternatively, install JCE or use another editor and K2 will automatically switch to using NicEdit for these fields.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
1 week 3 days ago #170490 by Pierre-Emmanuel DUBREUIL
Pierre-Emmanuel DUBREUIL replied the topic: Extra Field with TinyMCE
OK, thank you very much: I understand now!
No matter the installed editor, the issue is the same.
We will work on this update of Joomla.
You can close this topic

Best regards

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 2 days ago #170500 by Fotis
Fotis replied the topic: Extra Field with TinyMCE
Even with JCE enabled?


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
1 week 2 days ago #170504 by Pierre-Emmanuel DUBREUIL
Pierre-Emmanuel DUBREUIL replied the topic: Extra Field with TinyMCE
Yes: as soon as I define an editor in Joomla configuration, I meet this bug.
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: william white