diff --git a/README.md b/README.md index e08b5c5e0..ab8294631 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ This is the best* TeX-based mathematical plugin for CKEditor 5. You can use it t * [From plain text](#from-plain-text) * [From Microsoft Word](#from-microsoft-word) - [Preview workaround](#preview-workaround) +- [Testing](#testing) - [Todo](#todo) ## Features @@ -178,6 +179,16 @@ __.ck-reset_all *__ css rules from ckeditor5-ui and ckeditor5-theme-lark break r My solution for this is use rendering element outside of CKEditor DOM and place it right place by using absolute position. Alternative solution could be using iframe, but then we have to copy typesetting engine's scripts and styles to child document. +## Testing + +Replace ckeditor5-core with git version + +`rm -rf node_modules/@ckeditor/ckeditor5-core && git clone https://github.com/ckeditor/ckeditor5-core.git node_modules/@ckeditor/ckeditor5-core` + +Run test suite + +`npm run test` + ## Todo - MathML input and output when using MathJax version 3 diff --git a/package-lock.json b/package-lock.json index 9beb42e9f..22c44d2fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ckeditor5-math", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -323,6 +323,17 @@ "integrity": "sha512-tzjP2kYGcTH59AgMZEVbIAWm6TnoBANmMyKdS8SolSEqu2EZp8PrCT9ChPWUbUJXpS4dcg0wxmkxtPDjtDCY5Q==", "dev": true }, + "@ckeditor/ckeditor5-paragraph": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-paragraph/-/ckeditor5-paragraph-11.0.5.tgz", + "integrity": "sha512-/E4RhtVXNC7IPHkQyNdPyl362mivzLbYMHMKhhDXnPFjHwBZMYbiVpzH+K5Fpajkzl1SYb2PPO5uh7JF5BlhbA==", + "dev": true, + "requires": { + "@ckeditor/ckeditor5-core": "^12.3.0", + "@ckeditor/ckeditor5-ui": "^14.0.0", + "@ckeditor/ckeditor5-utils": "^14.0.0" + } + }, "@ckeditor/ckeditor5-typing": { "version": "12.2.0", "resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-typing/-/ckeditor5-typing-12.2.0.tgz", diff --git a/package.json b/package.json index aa96b8bff..5ff341d2e 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "@ckeditor/ckeditor5-dev-tests": "^16.9.0", "@ckeditor/ckeditor5-editor-inline": "^12.3.0", "@ckeditor/ckeditor5-essentials": "^11.0.5", + "@ckeditor/ckeditor5-paragraph": "^11.0.5", "eslint": "^5.5.0", "eslint-config-ckeditor5": "^2.0.0", "husky": "^1.3.1",