Insert image and Insert link modals closing all modals
See original GitHub issueI launch Summernote in a Bootbox modal, the Insert image and Insert link buttons fire their own modal on top. If you then add an image URL or a Link as you click ‘Insert’ self.$dialog.modal('hide');
on line 5772 is closing both the top and bottom modals when it should only be closing the top most modal leaving the summernote container still visible and containing the new image or link. Any thoughts on how that might be fixed?
Issue Analytics
- State:
- Created 8 years ago
- Comments:8
Top Results From Across the Web
Insert image and Insert link modals closing all modals
I launch Summernote in a Bootbox modal, the Insert image and Insert link buttons fire their own modal on top. If you then...
Read more >Dynamically insert image source into modal - Stack Overflow
My goal is to insert the thumbnail image URL into the modal without having to assign each thumbnail image with an ID or...
Read more >How to fit the image into modal popup using Bootstrap?
Images can be fitted in modal popup using Bootstrap by including <img> tag in the “modal-body” div. The “modal-body” div determines the main ......
Read more >How To Create Modal Images - W3Schools
Learn how to create responsive Modal Images with CSS and JavaScript. ... Get the image and insert it inside the modal - use...
Read more >Modal - Bootstrap
Use Bootstrap's JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content. How it works. Before ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I take it all back, I’ve re-tested and tried the following options on initialisation and the Insert Image and Insert URL dialog’s do return their content to the summernote editable area in the already open dialog that called the inserts:
Hello,
I think you have to set below option. That might be solve your problem.
dialogsInBody: true,
Ex. (‘#HtmlContent’).summernote( { dialogsInBody: true, });
Thanks, Hardik