This is Summernote Editor.
How to remove extra blank space(after/before) from content into the "Summernote Editor" ?
68804-Jul-2019
Updated on 18-Jun-2023
Home / DeveloperSection / Forums / How to remove extra blank space(after/before) from content into the "Summernote Editor" ?
This is Summernote Editor.
Aryan Kumar
18-Jun-2023Sure, here is how you can remove extra blank space (after/before) from content into the "Summernote Editor" in ASP.NET MVC:
Code snippet
Code snippet
Code snippet
<summernote id="summernote" height="400"> <script> $(document).ready(function() { $('#summernote').summernote({ onfocus: function() { // Get the content of the Summernote editor. var content = $(this).summernote('code');
Code snippet
Once you have added this code to your project, you can test it by opening the view in a browser and clicking the "Save" button. The Summernote editor will remove any extra blank space from the content and save the updated content.