Software has to evolve in order to match the expectations and provide better experience for the majority of our clients. Getting the behavior closer to that of MS Word has been requested very often and we have heeded this request.
We are aware of the fact that there will always be people who prefer the old behavior and that some users may not be content with the new way, which is why we extract old commands and offer this file - so that developers can revert to the old commands for the old behavior, should they choose to.
Thus, it will, perhaps, be your option of choice in this matter.
Setting thew NewLineMode to P will have your users using the control as before, but with more semantic content and with the way MS Word behaves.
On pasting - there are various ways to handle this and our priority is to not modify the content the browser-user-other software combination provides. We cannot know all possible combinations, requests, desires and preferences, which is why we apply as little modifications as possible. If paragraphs come in from MS Word, paragraphs will be pasted. If line breaks come in - line breaks it is.
If a user pastes line breaks into MS Word they will not be able to create lists as it is, and they would need to go and press enter before each line they want to make a separate list item. If NewLineMode=P in RadEditor, the same process will yield paragraphs and lists will be created as in MS Word.
This is why the OnClientPasteHtml event exists - so developers can customize the content before it enters RadEditor. Here is a small example that will convert break tags to paragraphs:
) > -1)
updatedContent = args.get_value().replace(/<br\s*[\/]?>/gi,
+ updatedContent +
and you can extend this further to match your needs if you like.
With all this we have offered improved experience for the majority of people while leaving a number of options for the rest. This is more than most breaking changes in software offer as alternatives, for example AjaxControlToolkit's script manager incompatibility. We do care for our clients and we try to make transitions as easy as possible.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed