Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: border color #21

Merged
merged 10 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
510 changes: 259 additions & 251 deletions README.md

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, viewport-fit=cover"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.js"></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.bubble.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.snow.css"
rel="stylesheet"
/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.bubble.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.snow.css" rel="stylesheet" />
<script type="module" src="./dev.js"></script>
<link href="./index.css" rel="stylesheet" />
<link href="./table-creator.css" rel="stylesheet" />
Expand All @@ -35,6 +29,7 @@
</div>
<div>
<button id="btn2">console</button>
<span>select cell and right click</span>
<div id="editor2" style="height: 200px"></div>
<div id="output2"></div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const quill2 = new Quill('#editor2', {
DeleteColumn: '删除当前列',
DeleteTable: '删除当前表格',
BackgroundColor: '设置背景颜色',
BorderColor: '设置边框颜色',
},
defaultColorMap: [
[
Expand Down Expand Up @@ -114,6 +115,7 @@ const quill2 = new Quill('#editor2', {
texts: {
custom: '自定义',
clear: '清除',
transparent: '透明',
},
},
},
Expand Down
3 changes: 0 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ export default factory({
rules: {
'unicorn/prefer-dom-node-dataset': 'off',
'no-cond-assign': 'off',
'ts/no-unused-expressions': 'off',
'ts/no-this-alias': 'off',
'unicorn/no-this-assignment': 'off',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@typescript-eslint/parser": "^8.0.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"@zzxming/eslint-config": "^0.2.0",
"@zzxming/eslint-config": "^0.3.4",
"autoprefixer": "^10.4.19",
"eslint": "^9.11.1",
"eslint-merge-processors": "^0.1.0",
Expand Down
Loading