Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/semplon/summernote-ext-codewrapper
- Owner: semplon
- License: mit
- Created: 2016-09-03T19:45:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-03T20:58:45.000Z (about 8 years ago)
- Last Synced: 2024-02-15T09:35:11.479Z (9 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-summernote - summernote-ext-codewrapper
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**