Closed (outdated)
Project:
TinyMCE
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2007 at 20:02 UTC
Updated:
14 Jan 2021 at 19:31 UTC
Jump to comment: Most recent
Content that is added via TinyMCE should be enclosed by <p></p> tags. When you type, this is done, but when you paste text or "Paste from Word" or "Paste as text", it doesn't add those p tags.
After doing some research, I found a solution in the TinyMCE Forum: adding paste_create_paragraphs : "true" to the initialization.
So, I made the following change to tinymce.module:
From ...
tinyMCE.init({
$tinymce_settings
});... to ...
tinyMCE.init({
paste_create_paragraphs : "true",
$tinymce_settings
});In 1.9, it works great!
Could this be added as an option in a future version? It would help enormously.
Comments
Comment #1
mupsi