javascript - ContentEditable - InsertNode at root -


i trying create contenteditable can this:

when user press enter, new paragraph being created. but paragraph should inserted in parent node. there cases cursor inside div , when new line being created, created inside div not root.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -