Extensions (#737)

- add the current document title in the toolbar
- allow user extensions to define optional parameters
- more events for renamedElement, beforeClear, afterClear, sourceChanged
- remove "message" event used for iframe integration not used anymore. can be readded through a new extension if necessary
- default precision down to 2 digits (and applied in rotation)
This commit is contained in:
JFH
2022-03-13 12:59:53 +01:00
committed by GitHub
parent 95f9ea3abb
commit a335e44dc8
25 changed files with 457 additions and 512 deletions

View File

@@ -25,8 +25,6 @@
"cypress:run": "rimraf \".nyc_output/*\" && cypress run -q && nyc report --reporter=text-summary",
"cypress:instrument": "rimraf instrumented && cp-cli src instrumented && nyc instrument --compact=false src instrumented",
"cypress:test": "start-server-and-test start:test http://localhost:8000/instrumented/editor/index.html cypress:run",
"start-allow-origin": "static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'",
"start-embedded": "run-p start start-allow-origin",
"open-docs-no-start": "open-cli http://localhost:8000/docs/jsdoc/",
"open-docs": "run-p start open-docs-no-start",
"build-docs-remove": "rimraf \"docs/jsdoc/*\"",
@@ -82,12 +80,11 @@
},
"dependencies": {
"@babel/polyfill": "7.12.1",
"browser-fs-access": "0.24.0",
"canvg": "3.0.10",
"core-js": "3.21.0",
"browser-fs-access": "0.25.0",
"core-js": "3.21.1",
"elix": "15.0.1",
"html2canvas": "1.4.1",
"i18next": "21.6.11",
"i18next": "21.6.14",
"jspdf": "2.5.1",
"pathseg": "1.2.1",
"regenerator-runtime": "0.13.9",
@@ -95,25 +92,25 @@
"svg2pdf.js": "2.2.0"
},
"devDependencies": {
"@babel/core": "7.17.2",
"@babel/core": "7.17.5",
"@babel/preset-env": "7.16.11",
"@babel/register": "7.17.0",
"@babel/runtime-corejs3": "7.17.2",
"@cypress/code-coverage": "3.9.12",
"@cypress/fiddle": "1.19.3",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "^18",
"@rollup/plugin-dynamic-import-vars": "1.4.2",
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-replace": "3.0.1",
"@rollup/plugin-replace": "4.0.0",
"@rollup/plugin-url": "6.1.0",
"@web/dev-server": "0.1.29",
"@web/dev-server": "0.1.30",
"@web/dev-server-rollup": "0.3.15",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"copyfiles": "2.4.1",
"core-js-bundle": "3.21.0",
"core-js-bundle": "3.21.1",
"cp-cli": "2.0.0",
"cypress": "9.4.1",
"cypress": "9.5.1",
"cypress-multi-reporters": "1.5.0",
"cypress-plugin-snapshots": "1.4.4",
"jamilih": "0.54.0",
@@ -128,7 +125,7 @@
"remark-cli": "10.0.1",
"remark-lint-ordered-list-marker-value": "3.1.1",
"rimraf": "3.0.2",
"rollup": "2.67.2",
"rollup": "2.70.0",
"rollup-plugin-copy": "3.4.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-html": "0.2.1",