Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
(Noticed this behavior in my own project, but was able to consistently reproduce in the "EnterShiftEnter" sample project available in the RTE demos section.)
The scenario: I have set my RTE to use div tags instead of the default p tags when pressing enter (EnterKey property set to 'DIV'). The RTE respects this setting EXCEPT for directly after an ordered or unordered list (OL or UL tags). I suspect this is because, in order to terminate the OL or UL, you need to press enter (creating an empty LI element) then deselect the OL/UL button in the toolbar - I think the code that removes the empty LI element from the markup just assumes use of the p tag for the replacement. It is my expectation that, because I have pressed the enter key before terminating the list by deselecting the OL or UL button in the toolbar, the EnterKey setting would be honored and div tags would be used, rather than p tags. RTE not honoring the EnterKey setting in this scenario has the potential to create HTML that may not be what my app or my app's users expect.
To reproduce (using the "EnterShiftEnter" demo project -