mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Add empty paragraph after <video> tag in CKEditor
This commit is contained in:
parent
e2124ed1c0
commit
ad293fa4d0
1 changed files with 4 additions and 1 deletions
|
|
@ -385,6 +385,9 @@
|
|||
|
||||
if (html !== '' && data.settings.autoinsertPosition === 'paragraph') {
|
||||
html = '<p>' + html + '</p>\n';
|
||||
if (html.match(/<video /)) {
|
||||
html += '<p> </p>\n';
|
||||
}
|
||||
}
|
||||
|
||||
if (html === '') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue