Typing newline in oxy_textArea
Posted: Tue May 25, 2021 2:41 pm
Hello,
I am making a Web Author framework for editing xml documents. I have an oxy_textArea form control to edit the text content in <mainDescription> as follows:
The problem is, I'm unable to type newlines into the text by pressing enter. Pressing the enter key simply does nothing when the caret is inside the text area. Ctrl-enter does nothing either. Interestingly, I can paste newlines into the text from the clipboard. Any idea on how to get the enter key to work?
Best,
Topi
I am making a Web Author framework for editing xml documents. I have an oxy_textArea form control to edit the text content in <mainDescription> as follows:
Code: Select all
metadata > mainDescription {
content:oxy_textArea(
edit, '#text',
contentType, 'text/plain',
rows, 12,
width, 100%);
visibility: -oxy-collapse-text;
}
Best,
Topi