Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksy11/summernote-ext-table
summernote table plugin
https://github.com/ksy11/summernote-ext-table
align background-color merge resize summernote table
Last synced: 3 months ago
JSON representation
summernote table plugin
- Host: GitHub
- URL: https://github.com/ksy11/summernote-ext-table
- Owner: ksy11
- License: mit
- Created: 2020-08-12T07:28:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T00:29:11.000Z (about 4 years ago)
- Last Synced: 2024-02-15T09:31:48.271Z (9 months ago)
- Topics: align, background-color, merge, resize, summernote, table
- Language: JavaScript
- Homepage:
- Size: 246 KB
- Stars: 7
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-summernote - summernote-ext-table
README
# summernote-ext-table v0.1
A plugin for the [Summernote](https://github.com/summernote/summernote/) WYSIWYG editor.### Installation
#### 1. Include CSS/JS
```html```
#### 2. Summernote option
```
Summernote Toolbar. ('table' => 'jTable')
['insert', ['hr', 'jTable', 'link', 'picture']],
```
```
Summernote popover-table.
table: [
['merge', ['jMerge']],
['style', ['jBackcolor', 'jBorderColor', 'jAlign', 'jAddDeleteRowCol']],
['info', ['jTableInfo']],
['delete', ['jWidthHeightReset', 'deleteTable']],
]
```
#### 3. Summernote init
```javascript
$(document).ready(function () {
$('#summernote').summernote({
lang : "ko-KR",
height : 300,
toolbar: [
['style', ['style']],
['font', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
['fontname', ['fontname', 'fontsize', 'color']],
['para', ['ul', 'ol', 'paragraph', 'height']],
['insert', ['hr', 'jTable', 'link', 'picture']],
['misc', ['undo', 'redo', 'fullscreen']],
],
popover: {
table: [
['merge', ['jMerge']],
['style', ['jBackcolor', 'jBorderColor', 'jAlign', 'jAddDeleteRowCol']],
['info', ['jTableInfo']],
['delete', ['jWidthHeightReset', 'deleteTable']],
]
},
jTable : {
/**
* drag || dialog
*/
mergeMode: 'drag'
}
});
});
```I'm check only v0.8.16-lite version.
This project is discard after push. ^^.....Bye. Good Luck.