Skip to content

Commit

Permalink
[update]readme
Browse files Browse the repository at this point in the history
  • Loading branch information
luowei authored and luowei committed Jul 16, 2019
1 parent d7db02b commit 5bd9442
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ A module for better table in Quill, more useful features are supported. There is
# Planning to
<ul>
<li>
<p>Supporting headers in table cell. (Already done in v1.1.9)</p>
<p>Supporting headers in table cell.(cancelled)</p>
<p>(Already done in v1.1.9, but overwrited quill built-in header blot, maybe this is a bad idea, so I cancel this feature in v1.1.13. This feature may be an optional feature in another module.)</p>
</li>
<li>
<p>Supporting un/ordered list in table cell.</p>
<p>Supporting un/ordered list in table cell.(cancelled)</p>
<p>To implement this, it will do harm to quill built-in blot. This feature may be an optional feature in another module.</p>
</li>
<li>
<p>UI optimization(icons, selected areas...).</p>
Expand Down
9 changes: 4 additions & 5 deletions dist/demo/demo1.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/
/******/ var hotApplyOnUpdate = true;
/******/ // eslint-disable-next-line no-unused-vars
/******/ var hotCurrentHash = "7eea064f0aba78ebf4ab";
/******/ var hotCurrentHash = "16dafd8763b8395da6a4";
/******/ var hotRequestTimeout = 10000;
/******/ var hotCurrentModuleData = {};
/******/ var hotCurrentChildModule;
Expand Down Expand Up @@ -2648,8 +2648,7 @@ class quill_better_table_BetterTable extends Module {
external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register(table_TableContainer, true);
external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register(table_TableViewWrapper, true);
external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register(table_TableViewWrapper, true); // register customized Header,overwriting quill built-in Header

external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register('formats/header', header, true);
// Quill.register('formats/header', Header, true);
}

constructor(quill, options) {
Expand Down Expand Up @@ -2736,8 +2735,8 @@ class quill_better_table_BetterTable extends Module {

quill.clipboard.addMatcher('td', matchTableCell);
quill.clipboard.addMatcher('th', matchTableHeader);
quill.clipboard.addMatcher('table', matchTable);
quill.clipboard.addMatcher('h1, h2, h3, h4, h5, h6', matchHeader); // remove matcher for tr tag
quill.clipboard.addMatcher('table', matchTable); // quill.clipboard.addMatcher('h1, h2, h3, h4, h5, h6', matchHeader)
// remove matcher for tr tag

quill.clipboard.matchers = quill.clipboard.matchers.filter(matcher => {
return matcher[0] !== 'tr';
Expand Down
9 changes: 4 additions & 5 deletions dist/quill-better-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ return /******/ (function(modules) { // webpackBootstrap
/******/
/******/ var hotApplyOnUpdate = true;
/******/ // eslint-disable-next-line no-unused-vars
/******/ var hotCurrentHash = "7eea064f0aba78ebf4ab";
/******/ var hotCurrentHash = "16dafd8763b8395da6a4";
/******/ var hotRequestTimeout = 10000;
/******/ var hotCurrentModuleData = {};
/******/ var hotCurrentChildModule;
Expand Down Expand Up @@ -2648,8 +2648,7 @@ class quill_better_table_BetterTable extends Module {
external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register(table_TableContainer, true);
external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register(table_TableViewWrapper, true);
external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register(table_TableViewWrapper, true); // register customized Header,overwriting quill built-in Header

external_commonjs_quill_commonjs2_quill_amd_quill_root_Quill_default.a.register('formats/header', header, true);
// Quill.register('formats/header', Header, true);
}

constructor(quill, options) {
Expand Down Expand Up @@ -2736,8 +2735,8 @@ class quill_better_table_BetterTable extends Module {

quill.clipboard.addMatcher('td', matchTableCell);
quill.clipboard.addMatcher('th', matchTableHeader);
quill.clipboard.addMatcher('table', matchTable);
quill.clipboard.addMatcher('h1, h2, h3, h4, h5, h6', matchHeader); // remove matcher for tr tag
quill.clipboard.addMatcher('table', matchTable); // quill.clipboard.addMatcher('h1, h2, h3, h4, h5, h6', matchHeader)
// remove matcher for tr tag

quill.clipboard.matchers = quill.clipboard.matchers.filter(matcher => {
return matcher[0] !== 'tr';
Expand Down
2 changes: 1 addition & 1 deletion dist/quill-better-table.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quill-better-table",
"version": "1.1.12",
"version": "1.1.13",
"description": "Module for better table in Quill, more useful features are supported.",
"main": "dist/quill-better-table.js",
"scripts": {
Expand Down

0 comments on commit 5bd9442

Please sign in to comment.