elegantthemes / create-divi-extension

MIT License
185 stars 59 forks source link

Tiny_MCE doesn't display frontend #163

Open AgenceGlanum opened 6 years ago

AgenceGlanum commented 6 years ago

Problem Description

I'm trying to have two Tiny_MCE in the same module, but the second one doesn't display frontend. Thanks for your help HelloWorld.zip

Steps To Reproduce

  1. Go to the backend and select HelloWorld custom module
  2. Fill the first Tiny MCE and the second Tiny MCE
  3. Update
  4. Only the first content is displayed frontend

Screenshot and/or gif

SatishKumarPrajapati commented 6 years ago

@AgenceGlanum you can't use multiple Tiny_mce control in divi module.

xxtesaxx commented 6 years ago

The reason is that Divi modules are stored as shortcodes on the page and the tinymce or code fields text is stored between the shortcodes like so:

[my_module]here goes my text[/my_module]

Thats why you cant have multiple tiny mce instances or a tiny mce together with a code in one module. Hopefully ET will address this issue soon together with the possibility to let us develop completely customized settings