Home › Forums › Quform WordPress › display text in HTML › Reply To: display text in HTML
May 12, 2020 at 11:53 am #31158
artsolving
Participant
hi,
tnx for support.
however I added a function to display an inline editor for a div element.
jQuery(function ($) {
tinymce.init({
selector: ‘div#prova’,
inline: true
});
});
it open as in image but it works only if I put in the form a textarea with editor enabled.
1) i want only div element in the form its possible ?
2) also I try to display the div content in mail notification and nothing appear if I digit some text inside.
use:
jQuery(function ($) {
$(‘#prova’).html(tinymce.inlineEditor.getContent());
$(‘#prova’).html($(this).val());
});
but not work.
some tips ?
tnx