Skip to content

Commit

Permalink
Add testing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
isaul32 committed Oct 11, 2019
1 parent a09eba8 commit ec03d72
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
13 changes: 12 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -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",
Expand Down

0 comments on commit ec03d72

Please sign in to comment.