TinyMCE: Cursor Does Not Move to Next Line After Inserting Content with Tag Using mceInsertContent
I’m using TinyMCE for my rich text editor, and I’m performing clipboard operations to insert content into the editor using the mceInsertContent command. When I insert content that ends with a
tag, for example, the string “text
“, the content is inserted correctly, but the cursor does not move to the next line as expected. (I had copied this content from notepad. The content was a line called “test” and then I had hit enter after that, so a new line below the string “test”)