• Hi. Does anyone find a fix to the issue mention in this post?

    http://wordpress.org/support/topic/plugin-custom-field-template-repeating-custom-fields

    There is one more major caveat to this repeating technique. You can’t use tinymce or html textarea content types.

    When you push the “Add New” on the fieldset all the code is duplicated. You do get a new field but TinyMCE and the HTML editor are still tied to the original content area.

    So when you use any javascript, it will affect the original textarea not the newly created one.

    Thanks in advance and sorry for my english.

Viewing 1 replies (of 1 total)
  • Thread Starter chavo

    (@chavo)

    Looking at the source code, I figured out that when duplicate (Add new) fieldset the $rand value for the switch button remains the same value. I guess that this is the reason why switching affects original fieldset only. Unfortunately I’m not a code master to find a solution :(.

    Any ideas?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • The topic ‘Any fix to Add New bug?’ is closed to new replies.