![]() So i could override the bottom margin as follow in my css. I my case bootstrap applied a ‘bottom-margin’ of 10px to the p element. ![]() however I think you can use the p tag option and remove the margin of any p inside a contentEditable (in your css), that way you will get the same effect as br tag, and because users are not technical so who cares if it's p or br ?" This did not work for me and summernote become unstable.Īccording to with contentEditable is a nightmare especially to make things working cross browsers, this is why most editors don't provide br tag option. Tag instead (Same behavior as pressing "SHIFT+ENTER"). My first thought was also to override the default ENTER event "insertParagraph" TO insert a ![]() By default Summernote will wrap the inline node with paragraph tags.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |