diff --git a/README.md b/README.md index b369e8c..328e959 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,20 @@ git submodule init git submodule update +npm install # Setup, make a dev build and start a server npm start ``` +If you get an +```bash +Error: MDX compilation failed for file "X:\PATHTO\cortexjs.io\docs\mathfield\22-security.md" +Cause: Cannot read properties of null (reading '1') +Details: +TypeError: Cannot read properties of null (reading '1') +``` +Then go through each of the .md files and save them (CTRL+S) so you are sure the contents is saved to disk. You should be able to build successfully. + ## To update the documentation after a new release ```bash diff --git a/docs/mathfield/11-interacting.md b/docs/mathfield/11-interacting.md index 15c4591..f46da38 100644 --- a/docs/mathfield/11-interacting.md +++ b/docs/mathfield/11-interacting.md @@ -227,16 +227,8 @@ to be dispatched. | `deleteContentForward`| | | `historyUndo`| The content was changed because of an undo command | | `historyRedo`| The content was changed because of a redo command | - - -:::warning - -On iOS, the `inputType` property is removed. However, its content can also be access as `ev.data`. Until this issue is addressed in iOS, for better compatibility, use `ev.data`. - -::: - The `beforeinput` event is dispatched before any modifications to the mathfield have been done. This event is cancelable. Calling `preventDefault()` on the event will cause the modification to be prevented. diff --git a/docs/mathfield/12-customizing.md b/docs/mathfield/12-customizing.md index 1cfebc1..1fc5568 100644 --- a/docs/mathfield/12-customizing.md +++ b/docs/mathfield/12-customizing.md @@ -643,4 +643,4 @@ MathfieldElement.fontsDirectory = "https://unpkg.com/mathlive/dist/fonts/"; x=\frac{-b\pm \sqrt{b^2-4ac}}{2a} -``` \ No newline at end of file +```