Code Wrapper for Summernote Editor, this will wrap your code into one part. Not like the default code styler by summernote.
I made this plugin because the default Summernote had is not wrap the code into one part when using summernote's code styler. It will break into paragraph. And when the code is long, we had to edit it manually.
When copying and paste the code, summernote can wrap html code but not the others.
see videos for the demo
https://www.youtube.com/watch?v=TTUgPvp6DQs
call your plugin script after summernote
<script src="http://path.to/your/summernote-ext-codewrapper.min.js"></script>
load the summernote
$(document).ready(function() {
$('.editor').summernote({
height: 300,
toolbar: [
['insert', ['gxcode']]
]
});
}
MIT License