Open henryder opened 3 years ago
Using CSS would be the best option, keep in mind the content inside the Summernote editing area uses the default styling of the page the editor resides in, well, mostly, if your using Bootstrap, it should use whatever Bootstrap's styling is. Apologies for not responding sooner.
The Summernote float option works on the img element, as the caption works on the figure element. Is there a solution to get the float on the figure (and removed from img) when a figure element is already placed?
With a caption under the image, when text is wrapped using float left or right, the caption shifts out from under image. Also when there is a long caption, it does not stay within the width of the image, but goes beyond it. Something that may be fixable with CSS style sheet for the figure tags? Or better yet, if your code could be modified to handle the changes necessary.