New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert image at list with line break #552
Closed
sohee-lee7 opened this issue
Jun 20, 2019
· 2 comments
· Fixed by OpenTMI/opentmi-default-gui#28 · May be fixed by christian7877/toast-ui.vue-editor#1
Closed
Insert image at list with line break #552
sohee-lee7 opened this issue
Jun 20, 2019
· 2 comments
· Fixed by OpenTMI/opentmi-default-gui#28 · May be fixed by christian7877/toast-ui.vue-editor#1
Comments
CurrentCase 1 : If there is only an image after the last
|
Current
// wysiwygEditor.spec.js
const case1 = 'test<br><img src="" />'; // success
const case2 = 'test<br>\u200B<img src="" />'; // success
const case2 = 'test<br>\n<img src="" />'; // fail
editor.getCurrentModeEditor().setValue('test<br><img src="" />');
// or
editor.getCurrentModeEditor().setValue('<a href="#">test<br><img src="" /></a>'); |
seonim-ryu
added a commit
that referenced
this issue
Aug 5, 2019
6 tasks
seonim-ryu
pushed a commit
that referenced
this issue
Jan 2, 2020
ww: codeBlock에서 selection 이후 text까지 삭제되는 문제 해결
seonim-ryu
added a commit
that referenced
this issue
Jan 2, 2020
seonim-ryu
pushed a commit
that referenced
this issue
Jan 6, 2020
ww: codeBlock에서 selection 이후 text까지 삭제되는 문제 해결
seonim-ryu
added a commit
that referenced
this issue
Jan 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v1.4.3
Test Environment
Chrome
Current Behavior
When insert image at the list with line break and change mode to wysiwyg,
line break disappear.
Expected Behavior
Line break should be kept.
The text was updated successfully, but these errors were encountered: