Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/semplon/summernote-ext-codewrapper

Code Wrapper for Summernote Editor
https://github.com/semplon/summernote-ext-codewrapper

Last synced: 3 months ago
JSON representation

Code Wrapper for Summernote Editor

Awesome Lists containing this project

README

        

# Summernote Codewrapper Extension
Code Wrapper for Summernote Editor, this will wrap your code into one part. Not like the default code styler by summernote.

## WHY ?
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

## Installation
call your plugin script after summernote

```html

```

load the summernote
```js
$(document).ready(function() {
$('.editor').summernote({
height: 300,
toolbar: [
['insert', ['gxcode']]
]
});
}
```

## License
**MIT License**