Closed xiranst closed 6 years ago
'but the texture can not get the content', what do you mean by this?
@bbatliner sorry my typo. that is the textarea can not get the content from tinymce. please check the attachment.
because the textarea value is required, so this form can not be submitted. i try to alert some value in vex.onSubmit that is not working.
I can't remember why vex-dialog uses a form at the moment, so in the meantime let's work around it.
Could you add another line of code to afterOpen
that removes the required attribute from the hidden textarea? Something like:
$('#form_template_block_html').removeAttr('required')
@bbatliner i add form into vex-dialog to save some works for user. i have removed the required attribute for textarea, but the form is still not submitted and the alert is not working in onSubmit funciton. maybe this question is about the tinymce and i will ask tinymce. thanks for your help.
I mean the vex popup has a form inside of it, which could be messing with the submitting. Ok, let me know what you find out.
@bbatliner yes, i know the form in vex popup.
@bbatliner i can submit the form data now. i remove the required attribute from php code not in vex. but the textarea must be required. so, i will research it again. thanks for your vex that is very nice plugin.
same the title. how to interagency the tinymce editor when open a window? i add tinymce.init({selector: '.tinymce'}); in the afterOpen function. there has one question: the form can not be submit when click submit button. i have filled content into the editor but the textear can not get the content, so form not be submit;