Saving a clonable group with wysiwyg

Support MB Group Saving a clonable group with wysiwyg

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3792
    doublevdoublev
    Participant

    I’m using the Metabox.io group plugin and I’am having some trouble when I save a wysiwyg field. When I insert html in the Text tab and save. The html is converted to the visual tab has if it were text.

    This problem only happens if I set the groups to be clonable.

    Example :

    Text tab
    <b>Notre mission</b><br/> Procurer du Bien-Être, de la Sécurité et du Respect !

    Becomes (html chars)

    Thank you for your time

    #3794
    Anh TranAnh Tran
    Keymaster

    Regarding the switching between text and visual tab, this is the behavior of WordPress. WP checks the user's favorite editing mode and saves that in the user meta. Next time the user comes back, he will see the previous mode enabled. In your case, I guess when you edit the post content in visual mode, WP saves this mode.

    Besides, if you need to enter raw HTML, you can just use textarea field. That avoids the switching issue like the editor.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Saving a clonable group with wysiwyg’ is closed to new replies.