Skip to content
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

<video> can't delete #4407

Closed
mosebuho opened this issue Jan 8, 2023 · 3 comments
Closed

<video> can't delete #4407

mosebuho opened this issue Jan 8, 2023 · 3 comments

Comments

@mosebuho
Copy link

mosebuho commented Jan 8, 2023

After converting the gif file to mp4 using ffmpeg.wasm, uploading it using the video as .summernote("insertNode", video[0]);

  1. video cannot position the cursor in front (backward possible)

  2. cannot to delete if the contents below exist when the top is empty
    https://recordit.co/yWHaKRrKvv

  3. Unlike img, video is deleted with p tag when deleting video
    https://recordit.co/MRbc1hXCCj

Can anyone help me?

@1der1
Copy link

1der1 commented Jan 9, 2023

If you delete using the keyboard inside the text area, there must be text around it.
Otherwise, it would help if you control it on a higher level. That's what we have done at 1der1.com.

@mosebuho
Copy link
Author

mosebuho commented Jan 10, 2023

I want to know how to handle video like img in summernote

@DiemenDesign
Copy link
Member

This is something that doesn't quite work well as of yet, though it is being worked on, albeit slowly, probably too slowly. Summernote, has never really had much ability for video manipulation, other than adding videos. Be sure to check PR's for when Video changes are made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants