Page 1 of 1

Create new line [Author]

Posted: Fri Aug 10, 2018 2:54 pm
by Oleksii
What is equivalent to "Enter'-Shortcut from Editor view in Author view?

Re: Create new line [Author]

Posted: Fri Aug 10, 2018 5:38 pm
by sorin_carbunaru
Hello,

I'm not sure I understand you, but if you want the Enter key to take you to the next line, you have to deactivate the Press Enter to show available content completion proposals option from the Editor > Edit Modes > Author > Schema-Aware preferences page (Options menu > Preferences).

Regards,
Sorin Carbunaru
oXygen XML

Re: Create new line [Author]

Posted: Thu Aug 16, 2018 10:32 am
by Oleksii
Thank you Sorin,

before I make any changes, what is the default key for creating a line break in DITA Author view?

best
Oleksii

Re: Create new line [Author]

Posted: Thu Aug 16, 2018 12:12 pm
by sorin_carbunaru
Hello Oleksii,

There is no default key for inserting a line break in the Author view. In DITA there are elements that preserve white spaces and line endings (such as codeblock and pre) and elements that do not (much more). So, if you are in a p element and want to break the line, what you have to do is actually insert a new p, because DITA paragraphs are not space-preserve elements.

Sorin C.