I am currently working with Angular 8 and in the template, we have the following code snippet:
<editor
required
class="research-modal__control__input research-modal__control__input__description"
formControlName="description"
id="description"
[inline]="false" //trying something out
placeholder="Description"
[init]="{
base_url: '/tinymce',
suffix: '.min',
inline: true,
height: 500,
menubar: false,
toolbar:
'subscript superscript'
}"
></editor>
Does anyone know how to enable multiline mode? For instance, if I type the following in the textarea field:
line1
line2
line3
and the value with line breaks is saved in the database (Postgres), but when I reopen my popup window with the <editor> tag, everything is displayed in one line like this:
line1 line2 line3
I have searched online for a solution but couldn't find one. How can I enable multiline support?