Skip to content

Commit 203acd1

Browse files
committed
fix(textareafield): remove hack for textarea in previous versions
causes problem with tinymce behaviour when adding many liines in the editor tinymce seems to work properly now with show/ hide and scroll of long forms
1 parent e2cdbe7 commit 203acd1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

js/scripts.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -855,10 +855,6 @@ var plugin_formcreator = new function() {
855855
var questionId = questionKey;
856856
questionId = parseInt(questionKey.replace('formcreator_field_', ''));
857857
if (!isNaN(questionId)) {
858-
// Workaround issue with tinymce input which may be 0px height
859-
$('#form-group-field-' + questionKey + ' iframe')
860-
.attr('data-mce-style', 'width: 100%; height: 148px; display: block;')
861-
.attr('style', 'width: 100%; height: 148px; display: block;');
862858
if (questionToShow[questionKey]) {
863859
$('#plugin_formcreator_form.plugin_formcreator_form [data-itemtype = "PluginFormcreatorQuestion"][data-id="' + questionKey + '"]').removeAttr('hidden', '');
864860
} else {

0 commit comments

Comments
 (0)