Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
c84c356
Support retain embed
luin May 28, 2021
6d7a147
Add table handler
luin May 30, 2021
cab87ef
Add random testing for table operations
luin May 30, 2021
d1d40e5
Upgrade delta
luin May 31, 2021
cc0ad88
Register table handler in a module
luin Jun 14, 2021
6e40f11
Fix composePosition
luin Jun 18, 2021
4ff9d39
Fix the test case for invert tables
luin Jun 20, 2021
af4f1eb
Update delta for embed transform
luin Jul 22, 2021
61a2fd5
Rename table to table-embed to avoid name conflicts
luin Aug 20, 2021
4da5c38
Upgrade delta for embed retaining
luin Aug 20, 2021
22d7cf6
Add table handler
luin May 30, 2021
a9c5343
Register table handler in a module
luin Jun 14, 2021
855433f
Add table handler
luin May 30, 2021
ee1db9b
Register table handler in a module
luin Jun 14, 2021
37e02ae
Ignore self-manage blots
luin Jul 22, 2021
8083458
Add scroll embed change event
luin Jul 22, 2021
8664379
Upgrade delta to fix invert
luin Jul 22, 2021
7104087
Allow different Delta constructors
luin Jul 26, 2021
c7e3c37
Rename event names
luin Aug 18, 2021
b65ccee
Support updating embed content
luin Aug 18, 2021
b7b3131
Expose composePosition
luin Oct 5, 2021
0c4122c
Fix getRange not work with nested Quill
luin Oct 21, 2021
d78cc96
Ignore keyboard events triggered from nested quill instances
luin Oct 21, 2021
7125559
Fix typo
derrickreimer Nov 3, 2021
89e4d68
Quill.find should accept bubble parameter
luin Nov 8, 2021
5268696
Upgrade Parchment to make sure Scroll#find() not return nested scroll…
luin Nov 8, 2021
3a88c93
Merge branch 'develop' into zh-table-ot
luin Nov 29, 2021
a1e81da
Merge branch 'develop' into zh-table-ot
luin Dec 17, 2021
e17f0a1
Merge branch 'develop' into zh-table-ot
luin Feb 14, 2022
4313e90
Merge branch 'develop' into zh-table-ot
luin Feb 18, 2022
fbb887b
Merge branch 'develop' into zh-table-ot
luin Mar 3, 2022
d00df81
Upgrade Parchment to 2.0
luin May 31, 2022
271c47d
Merge pull request #3590 from quilljs/zh-table-ot
jhchen Jun 1, 2022
2e138a0
Fix combineFormats with multiple values repeated, closes #3336
Dora1604 Jun 10, 2022
fdaa793
Improve Tab handling in code block
luin Jun 8, 2022
1cdecd3
typo
joelcarrier May 15, 2022
4262023
Fix selection-change not firing on DOM mutations
luin Jun 4, 2022
26412d5
Initial TypeScript setup
luin Jun 20, 2022
ee8355f
Migrate blots and formats
luin Jun 21, 2022
142501b
Move eslint config into a separate file
luin Jun 21, 2022
b4baafd
Migrate entrypoint to TypeScript
luin Jun 21, 2022
b5176b5
Remove unnecessary expect error directives
luin Jun 22, 2022
7566276
Add ESLint configuration
luin Jun 22, 2022
541bd36
Merge pull request #3598 from quilljs/zh-ts
luin Jul 6, 2022
92d9514
Migrate clipboard to TypeScript
luin Aug 15, 2022
114d7b7
Migrate history to TypeScript
luin Aug 15, 2022
2b130d5
Migrate syntax to TypeScript
luin Aug 15, 2022
0470291
Migrate table to TypeScript
luin Aug 15, 2022
62e454b
Migrate tableEmbed to TypeScript
luin Aug 15, 2022
f166eb3
Migrate toolbar to TypeScript
luin Aug 15, 2022
0cc8755
Migrate uploader to TypeScript
luin Aug 15, 2022
18d531c
Migrate keyboard to TypeScript
luin Aug 15, 2022
c0de4b0
Migrate themes to TypeScript
luin Aug 15, 2022
25a9759
Include declarations
luin Aug 15, 2022
57e0f95
Address misc TypeScript issues
luin Aug 15, 2022
aad907d
Migrate UI to TypeScript
luin Aug 16, 2022
ac9c20d
Upgrade eslint configs
luin Aug 16, 2022
40b088f
Misc improvements
luin Aug 16, 2022
1d54cae
Export Delta
luin Aug 17, 2022
1d95615
Improve typings for table embed
luin Aug 17, 2022
912516c
Typing improvements
luin Aug 17, 2022
412e2d8
Remove compiled files
luin Aug 17, 2022
00f02ca
Make output compatible with babel-jest
luin Aug 17, 2022
17dec59
Ignore tsconfig from package
luin Aug 18, 2022
1f484a2
Set output path to dist
luin Sep 2, 2022
6fb1532
Merge pull request #3631 from quilljs/zh-ts-3
luin Sep 7, 2022
f7640d1
TypeScript compatibility improvement
luin Sep 13, 2022
e581d1c
Merge pull request #3651 from quilljs/zh-ts-2.7
luin Sep 17, 2022
20f4c45
Merge pull request #3477 from derrickreimer/patch-1
luin Sep 27, 2022
6b9904a
Upgrade dependencies
luin Oct 18, 2022
e2867ce
Remove outdated snapshots
luin Oct 20, 2022
ddc9048
Add Gatsby
luin Oct 20, 2022
2842086
Migrate to MDX
luin Oct 21, 2022
88ac557
Migrate all other docs
luin Oct 24, 2022
f73265b
Update eslint settings
luin Oct 25, 2022
d5b29ab
Add scripts
luin Oct 25, 2022
107a538
Merge package.json
luin Oct 25, 2022
912358e
Fix functional tests
luin Oct 25, 2022
3233830
Add CNAME and robots.txt
luin Oct 27, 2022
9fa92b7
Add 404 page
luin Oct 27, 2022
799adbe
Use npm workspace
luin Oct 27, 2022
85ee970
Improve styles for homepage
luin Oct 27, 2022
e33109d
Blog styling improvements
luin Oct 27, 2022
b296ce1
Add RSS for blog
luin Oct 27, 2022
8b1cf05
Remove unnecessary frontmatter fields
luin Oct 27, 2022
9da9c9b
Refactor gatsby website structure
luin Oct 28, 2022
979bae5
Add docsearch
luin Oct 28, 2022
ab33e94
Code and styling improvements
luin Oct 28, 2022
e693722
Refactor .gitignore
luin Oct 28, 2022
a43c10d
Minor content fixes
luin Oct 28, 2022
331b695
Require npm version for workspace support
luin Oct 28, 2022
bac6b0e
Setup GitHub actions
luin Oct 28, 2022
005eba0
Update GitHub action addons
luin Oct 28, 2022
aadf69d
Remove unnecessary bypass rules
luin Oct 28, 2022
4a45cd6
Update release script
luin Oct 28, 2022
de306b0
Remove Gemfile
luin Oct 28, 2022
9d1e53d
Remove unnecessary ignored rules
luin Oct 28, 2022
3881d8b
update links given removal of redirect_from
jhchen Oct 28, 2022
f22f31c
Merge pull request #3681 from quilljs/zh-upgrade-tools
luin Oct 29, 2022
4246497
Keep newlines in pre tag
luin Nov 6, 2022
875a0a9
Declare module '*.svg'
SCG82 Sep 19, 2022
4098cbb
Fix clipboard typing
luin Nov 6, 2022
7ce93a4
Use Playwright for E2E tests
luin Nov 14, 2022
c628de6
Migrate existing puppeteer scripts
luin Nov 14, 2022
773a553
Rename workflows
luin Nov 14, 2022
8071f48
Add missing typing for Quill.find
luin Dec 3, 2022
de7f720
Small doc fix
diegohaz Aug 15, 2021
795dd1e
Fix typo in comparison-with-other-rich-text-editors.md
eltociear Jun 22, 2021
6159f64
Add SMS to link protocol whitelist
Nov 25, 2019
d2f689f
Refactor Selection#scrollIntoView()
luin Jan 4, 2023
966103a
merge upstream
Apr 5, 2023
f71e26a
Merge remote-tracking branch 'upstream/develop' into tk-merge-upstream
Apr 7, 2023
82d21ba
get tests working
Apr 7, 2023
8666141
cleanup
Apr 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
docs/
_develop
34 changes: 34 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"plugins": ["prettier", "@typescript-eslint"],
"settings": {
"import/resolver": {
"webpack": {
"config": "_develop/webpack.config.js"
}
}
},
"ignorePatterns": ["**/*.d.ts", "**/*.js", "website/**/*"],
"rules": {
"arrow-parens": ["error", "as-needed"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"prettier/prettier": "error"
}
}
21 changes: 21 additions & 0 deletions .github/workflows/_e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: E2E Tests
on:
workflow_call:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: |
npm start &
sleep 120
npx playwright test
38 changes: 38 additions & 0 deletions .github/workflows/_unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Unit Tests
on:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
browser: [
mac-chrome-latest,
mac-firefox-latest,
mac-safari-latest,
windows-chrome-latest,
windows-firefox-latest,
windows-edge-latest,
ios-latest,
# android-latest,
]

steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm

- run: npm ci
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1
- run: npm run lint
- run: npm run test:unit:ci
env:
BROWSER: ${{ matrix.browser }}
- run: npm run test:random
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Main

on:
push:
branches: [develop]

concurrency:
group: main-build
cancel-in-progress: true

jobs:
unit:
uses: ./.github/workflows/_unit.yml
e2e:
uses: ./.github/workflows/_e2e.yml
11 changes: 11 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Pull Requests

on:
pull_request:
branches: [develop]

jobs:
unit:
uses: ./.github/workflows/_unit.yml
e2e:
uses: ./.github/workflows/_e2e.yml
22 changes: 21 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
.*
!.eslintrc.json
!.eslintignore
!.npmignore
!.gitignore
!.github

/dist
/node_modules
/selenium
/docs/_site
/src
*.d.ts
*.js.map
*.log
shortwave-quill-*.tgz
*.iml

blots/*.js
core/*.js
formats/*.js
modules/*.js
themes/*.js
ui/*.js
test/random.js

core.js
quill.js
/test-results/
/playwright-report/
/playwright/.cache/
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.ts
!*.d.ts
.*
Gemfile
Gemfile.lock
_develop
.github
.vscode
docs
test
tsconfig.json
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

5 changes: 0 additions & 5 deletions Gemfile

This file was deleted.

Loading