Keyword

Extra Field with TinyMCE

  • Pierre-Emmanuel DUBREUIL
  • Pierre-Emmanuel DUBREUIL's Avatar Topic Author
  • Offline
  • New Member
More
5 years 11 months ago #170430 by Pierre-Emmanuel DUBREUIL
Extra Field with TinyMCE was created by Pierre-Emmanuel DUBREUIL
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.

More
5 years 11 months ago #170438 by JoomlaWorks
Replied by JoomlaWorks on 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...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
5 years 11 months ago - 5 years 11 months ago #170447 by Pierre-Emmanuel DUBREUIL
Replied by Pierre-Emmanuel DUBREUIL on 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: 5 years 11 months ago by Pierre-Emmanuel DUBREUIL.

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

More
5 years 11 months ago #170448 by JoomlaWorks
Replied by JoomlaWorks on 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...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
5 years 11 months ago #170452 by Pierre-Emmanuel DUBREUIL
Replied by Pierre-Emmanuel DUBREUIL on 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
5 years 11 months ago #170467 by Pierre-Emmanuel DUBREUIL
Replied by Pierre-Emmanuel DUBREUIL on 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.

More
5 years 11 months ago #170481 by JoomlaWorks
Replied by JoomlaWorks on 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
5 years 11 months ago #170490 by Pierre-Emmanuel DUBREUIL
Replied by Pierre-Emmanuel DUBREUIL on 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.

More
5 years 11 months ago #170500 by JoomlaWorks
Replied by JoomlaWorks on topic Extra Field with TinyMCE
Even with JCE enabled?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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
5 years 11 months ago #170504 by Pierre-Emmanuel DUBREUIL
Replied by Pierre-Emmanuel DUBREUIL on 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.


Powered by Kunena Forum