Currently all text is wrapped inside a P tag, which is very inconvenient in many cases. Couple of examples:
Hi,
Support for adding a BR tag on pressing shift+enter is available in v.1.1.0 of the Editor package.
Regards,
Dimiter Topalov
Progress Telerik
Hi Plamen,
Thank you for the provided screencast.
Indeed you are right. I discussed this behavior with the assigned developers and I can assure you that inserting <br> tag capability on Shift + Enter keystroke will be addressed and it will be documented in the Editor Change Log page:
https://www.telerik.com/kendo-angular-ui-develop/components/editor/changelog/
Please let me know in case you would like me to ping you once the enhancement is added.
Regards,
Martin
Progress Telerik
Hi Marin,
Actually you are only partially correct. The ProseMirror lib supports the [Shift]+[Enter] keystroke and it correctly adds a BR tag. See the following screencast taken on the ProseMirror site: https://screencast-o-matic.com/watch/cYf1IHa1bg
If you could add at least this capability to the Angular Editor it will help end users a lot!
Thanks!
Hi Plamen,
Thank you for the provided feedback.
In general, Angular and jQuery are quite different technologies. That is why the Kendo controls, built on top of these technologies, are also used in different ways.
The default behavior of the ProseMirror library, that the Editor uses under the hood, puts everything that is on a new line in a <p> tag:
Currently, we are considering our options to provide more flexibility for customizing the default behavior, but up to now, I am afraid that the desired functionality cannot be changed as the described behavior comes from the ProseMirror library which is out of our control.
Regards,
Martin
Progress Telerik