Is it possible to automatically change the initial height of the ticket description field?
We provide to the requester with a predefined description template for the ticket description field with the js code below.
document.getElementById("<P>1234</p><P>1234</p><P>1234</p><P>1234</p><P>1234</p><P>1234< /p>';
And we increased the height of the ticket description field through the code below to display the long template at once without scrollbars.
$("#request_description").height(1).height( $("#request_description").prop('scrollHeight')+12 );
However, after changing the ticket description to wysiwyg, the above code does not work.
{{request_form wysiwyg=true}}
And there's a long scroll bar...
From what I've looked up, the wysiwyg code seems to use the tinyMCE editor. I'd like to ask if we can't provide a large description field to the requester in this way.
-
Hi 이지훈@안랩,
Unfortunately, you cannot modify the wysiwyg (What you see is what you get).
Please sign in to leave a comment.
1 Comments