Skip to content

Build your personal knowledge base with Trilium Notes

Add '_regroup/ckeditor5-math/' from commit '6231df7f0e9df7f4d6982b103c02400d4f0b8937'

Elian Doran78544e5c99f4
diff --cc _regroup/ckeditor5-math/.editorconfig
index 0000000000,0000000000..3fda55f352
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/.editorconfig
@@@ -1,0 -1,0 +1,20 @@@
++root = true
++
++[*]
++indent_style = tab
++tab_width = 4
++charset = utf-8
++end_of_line = lf
++trim_trailing_whitespace = true
++insert_final_newline = true
++
++[*.{js,jsx,ts}]
++quote_type = single
++
++[*.{yml,yaml}]
++indent_style = space
++indent_size = 4
++
++[package.json]
++indent_style = space
++tab_width = 4
diff --cc _regroup/ckeditor5-math/.eslintrc.cjs
index 0000000000,100e2b9f29..100e2b9f29
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/.eslintrc.cjs
+++ b/_regroup/ckeditor5-math/.eslintrc.cjs
diff --cc _regroup/ckeditor5-math/.gitattributes
index 0000000000,0000000000..9c20d56f70
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/.gitattributes
@@@ -1,0 -1,0 +1,18 @@@
++* text=auto
++
++*.htaccess eol=lf
++*.cgi eol=lf
++*.sh eol=lf
++
++*.css text
++*.htm text
++*.html text
++*.js text
++*.json text
++*.php text
++*.txt text
++*.md text
++
++*.png -text
++*.gif -text
++*.jpg -text
diff --cc _regroup/ckeditor5-math/.github/workflows/release.yml
index 0000000000,0000000000..a2c61a1cc8
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/.github/workflows/release.yml
@@@ -1,0 -1,0 +1,26 @@@
++name: Release
++on:
++ push:
++ tags:
++ - 'v*'
++jobs:
++ publish-package:
++ name: Publish package
++ runs-on: ubuntu-latest
++ steps:
++ - uses: actions/checkout@v4
++ - name: Set up Node
++ uses: actions/setup-node@v4
++ with:
++ node-version: 22
++ registry-url: 'https://registry.npmjs.org'
++ always-auth: true
++ - run: |
++ corepack enable &&
++ corepack install
++ - name: Install dependencies
++ run: yarn install --frozen-lockfile
++ - name: Publish package
++ run: yarn publish --access public
++ env:
++ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
diff --cc _regroup/ckeditor5-math/.gitignore
index 0000000000,0000000000..3c5cf98ee3
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/.gitignore
@@@ -1,0 -1,0 +1,10 @@@
++node_modules/
++build/
++tmp/
++sample/ckeditor.dist.js
++package-lock.json
++yarn-error.log
++
++# Ignore compiled TypeScript files.
++src/**/*.js
++src/**/*.d.ts
diff --cc _regroup/ckeditor5-math/.nvmrc
index 0000000000,b460d6f2de..b460d6f2de
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/.nvmrc
+++ b/_regroup/ckeditor5-math/.nvmrc
diff --cc _regroup/ckeditor5-math/.prettierignore
index 0000000000,8eba6c8dd4..8eba6c8dd4
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/.prettierignore
+++ b/_regroup/ckeditor5-math/.prettierignore
diff --cc _regroup/ckeditor5-math/.prettierrc
index 0000000000,d688f6b3a7..d688f6b3a7
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/.prettierrc
+++ b/_regroup/ckeditor5-math/.prettierrc
diff --cc _regroup/ckeditor5-math/.stylelintrc
index 0000000000,0000000000..1d86a41f98
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/.stylelintrc
@@@ -1,0 -1,0 +1,3 @@@
++{
++ "extends": "stylelint-config-ckeditor5"
++}
diff --cc _regroup/ckeditor5-math/CHANGELOG.md
index 0000000000,67df8ee109..67df8ee109
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/CHANGELOG.md
+++ b/_regroup/ckeditor5-math/CHANGELOG.md
diff --cc _regroup/ckeditor5-math/LICENSE
index 0000000000,0000000000..0a8c0c4cd1
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/LICENSE
@@@ -1,0 -1,0 +1,13 @@@
++Copyright 2019 Sauli Anto
++
++Permission to use, copy, modify, and/or distribute this software for any
++purpose with or without fee is hereby granted, provided that the above
++copyright notice and this permission notice appear in all copies.
++
++THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
++WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
++MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
++ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
++WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
++ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
++OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --cc _regroup/ckeditor5-math/README.md
index 0000000000,0000000000..e5baefc949
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/README.md
@@@ -1,0 -1,0 +1,288 @@@
++# CKEditor 5 mathematical feature · [![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/isaul32/ckeditor5-math/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@isaul32/ckeditor5-math.svg?style=flat)](https://www.npmjs.com/package/@isaul32/ckeditor5-math)
++
++ckeditor5-math is a TeX-based mathematical plugin for CKEditor 5. You can use it to insert, edit, and view mathematical equations and formulas. This plugin supports [MathJax], [KaTeX] and custom typesetting engines.
++
++[mathjax]: https://www.mathjax.org/
++[katex]: https://katex.org/
++
++## Table of contents
++
++- [Features](#features)
++- [Demos](#demos)
++- [Screenshots](#screenshots)
++- [Requirements](#requirements)
++- [Examples](#examples)
++- [Installation](#installation)
++ - [Styles for Lark theme](#styles-for-lark-theme)
++- [Configuration & Usage](#configuration--usage)
++ - [Plugin options](#plugin-options)
++ - [Available typesetting engines](#available-typesetting-engines)
++ - [Supported input and output formats](#supported-input-and-output-formats)
++- [Paste support](#paste-support)
++ - [From plain text](#from-plain-text)
++- [Autoformat support](#autoformat-support)
++- [Preview workaround](#preview-workaround)
++
++## Features
++
++- Written in TypeScript (as of v41.2.1)
++- DLL build support (as of v36.0.3)
++- TeX syntax
++- Inline and display equations
++- Preview view
++- Multiple typesetting engines
++- Have multiple input and output format
++- Paste support
++ - from plain text
++- Autoformat support
++
++# Demos
++
++- [Classic editor with MathJax](https://jsfiddle.net/isaul32/qktj9h7x/)
++- [Classic editor with KaTex](https://jsfiddle.net/isaul32/3wjrkLdv/)
++- [Balloon block editor with KaTex](https://jsfiddle.net/isaul32/q01mu8kp/)
++
++## Screenshots
++
++![Screenshot 1](/screenshots/1.png?raw=true "Screenshot 1")
++
++![Screenshot 2](/screenshots/2.png?raw=true "Screenshot 2")
++
++## Requirements
++
++- Use same major version as your CKEditor 5 build
++
++If you get duplicated modules error, you have mismatching versions.
++
++## Examples
++
++[Link to examples repository](https://github.com/isaul32/ckeditor5-math-examples)
++
++## Installation
++
++Use official classic or inline build as a base:
++
++- [CKEditor 5 classic editor build](https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-build-classic)
++- [CKEditor 5 inline editor build](https://github.com/ckeditor/ckeditor5/tree/master/packages/ckeditor5-build-inline)
++
++Install plugin with NPM or Yarn
++
++`npm install @isaul32/ckeditor5-math --save-dev`
++
++`yarn add @isaul32/ckeditor5-math --dev`
++
++Add import into ckeditor.js file
++
++```js
++import Math from '@isaul32/ckeditor5-math/src/math';
++import AutoformatMath from '@isaul32/ckeditor5-math/src/autoformatmath';
++```
++
++Add it to built-in plugins
++
++```js
++InlineEditor.builtinPlugins = [
++ // ...
++ Math,
++ AutoformatMath
++];
++```
++
++**Add math button to toolbar**
++
++```js
++InlineEditor.defaultConfig = {
++ toolbar: {
++ items: [
++ // ...
++ 'math'
++ ]
++ }
++};
++```
++
++### Styles for Lark theme
++
++**Copy theme/ckeditor5-math folder** from [https://github.com/isaul32/ckeditor5/tree/master/packages/ckeditor5-theme-lark](https://github.com/isaul32/ckeditor5/tree/master/packages/ckeditor5-theme-lark) to your lark theme repository
++
++### Using DLL builds
++
++Use the [official DLL build](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/dll-builds.html) and additionally load the math plugin:
++
++```html
++<script src="path/to/node_modules/@isaul32/ckeditor5-math/build/math.js"></script>
++<script>
++CKEditor5.editorClassic.ClassicEditor
++ .create(editorElement, {
++ plugins: [
++ CKEditor5.math.Math,
++ ...
++ ],
++ ...
++ });
++</script>
++```
++
++## Configuration & Usage
++
++### Plugin options
++
++```js
++InlineEditor.defaultConfig = {
++ // ...
++ math: {
++ engine: 'mathjax', // or katex or function. E.g. (equation, element, display) => { ... }
++ lazyLoad: undefined, // async () => { ... }, called once before rendering first equation if engine doesn't exist. After resolving promise, plugin renders equations.
++ outputType: 'script', // or span
++ className: 'math-tex', // class name to use with span output type, change e.g. MathJax processClass (v2) / processHtmlClass (v3) is set
++ forceOutputType: false, // forces output to use outputType
++ enablePreview: true, // Enable preview view
++ previewClassName: [], // Class names to add to previews
++ popupClassName: [], // Class names to add to math popup balloon
++ katexRenderOptions: {} // KaTeX only options for katex.render(ToString)
++ }
++}
++```
++
++### Available typesetting engines
++
++**MathJax**
++
++- Tested with **latest 2.7**
++- Has experimental (**CHTML**, **SVG**) support for **3.0.0** or newer version
++
++[<img src="https://www.mathjax.org/badge/badge-square.svg" width="130" alt="KaTeX">](https://www.mathjax.org/)
++
++**KaTeX**
++
++- Tested with version **0.12.0**
++
++[<img src="https://katex.org/img/katex-logo-black.svg" width="130" alt="KaTeX">](https://katex.org/)
++
++- `katexRenderOptions` - pass [options](https://katex.org/docs/options.html).
++
++ ```js
++ InlineEditor.defaultConfig = {
++ // ...
++ math: {
++ engine: 'katex'
++ katexRenderOptions: {
++ macros: {
++ "\\neq": "\\mathrel{\\char`≠}",
++ },
++ },
++ }
++ }
++ ```
++
++**Custom typesetting**
++
++Custom typesetting is possible to implement with engine config. For example, custom typesetting feature can be used when use back end rendering.
++
++```js
++InlineEditor.defaultConfig = {
++ // ...
++ math: {
++ engine: ( equation, element, display, preview ) => {
++ // ...
++ }
++ }
++}
++```
++
++- **equation** is equation in TeX format without delimiters.
++- **element** is DOM element reserved for rendering.
++- **display** is boolean. Typesetting should be inline when false.
++- **preview** is boolean. Rendering in preview when true.
++
++### Supported input and output formats
++
++Supported input and output formats are:
++
++```html
++<!-- MathJax style http://docs.mathjax.org/en/v2.7-latest/advanced/model.html#how-mathematics-is-stored-in-the-page -->
++<script type="math/tex">\sqrt{\frac{a}{b}}</script>
++<script type="math/tex; mode=display">\sqrt{\frac{a}{b}}</script>
++
++<!-- CKEditor 4 style https://ckeditor.com/docs/ckeditor4/latest/features/mathjax.html -->
++<span class="math-tex">\( \sqrt{\frac{a}{b}} \)</span>
++<span class="math-tex">\[ \sqrt{\frac{a}{b}} \]</span>
++```
++
++### Paste support
++
++#### From plain text
++
++Paste TeX equations with **delimiters**. For example:
++
++```latex
++\[ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \]
++```
++
++or
++
++```latex
++\( x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \)
++```
++
++### Autoformat support
++
++#### Inline mode
++
++Ctrl+M can be used to add easily math formulas in inline mode.
++
++#### Display mode
++
++Autoformat for math can be used to add formula in display mode on a new line by adding `\[` or `$$`. This feature requires additional autoformat plugin to be added.
++
++Add following lines into your build
++
++```js
++// ...
++import AutoformatMath from '@isaul32/ckeditor5-math/src/autoformatmath';
++
++InlineEditor.builtinPlugins = [
++ // ...
++ AutoformatMath
++];
++```
++
++or use it with DLL build
++
++```html
++<script src="path/to/node_modules/@isaul32/ckeditor5-math/build/math.js"></script>
++<script>
++CKEditor5.editorInline.InlineEditorEditor
++ .create(editorElement, {
++ plugins: [
++ CKEditor5.math.AutoformatMath,
++ ...
++ ],
++ ...
++ });
++</script>
++```
++
++## Preview workaround
++
++`.ck-reset_all *` css rules from ckeditor5-ui and ckeditor5-theme-lark break rendering in preview mode.
++
++My solution for this is use rendering element outside of CKEditor DOM and place it to right place by using absolute position. Alternative solution could be using iframe, but then typesetting engine's scripts and styles have to copy to child document.
++
++## Development
++
++Contributions, improvements and bug fixes are welcome. To aid in this, try out
++our developer environment w/ live reload support and [CKEditor 5 inspector].
++
++![Development environment](/screenshots/development-environment.png?raw=true "Screenshot of
++development environment")
++
++To enter a development loop with hot reload support:
++
++- `git clone https://github.com/isaul32/ckeditor5-math.git`
++- `cd ckeditor5-math`
++- `yarn`
++- `yarn start`
++- http://localhost:8080
++
++[ckeditor 5 inspector]: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/development-tools.html#ckeditor-5-inspector
diff --cc _regroup/ckeditor5-math/ckeditor5-metadata.json
index 0000000000,b8f844d9c2..b8f844d9c2
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/ckeditor5-metadata.json
+++ b/_regroup/ckeditor5-math/ckeditor5-metadata.json
diff --cc _regroup/ckeditor5-math/package.json
index 0000000000,0000000000..d68c8f2be9
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/package.json
@@@ -1,0 -1,0 +1,92 @@@
++{
++ "name": "@triliumnext/ckeditor5-math",
++ "version": "43.2.0-hotfix1",
++ "description": "Math feature for CKEditor 5.",
++ "keywords": [
++ "ckeditor",
++ "ckeditor5",
++ "ckeditor 5",
++ "ckeditor5-feature",
++ "ckeditor5-plugin",
++ "ckeditor5-math",
++ "katex"
++ ],
++ "main": "src/index.js",
++ "dependencies": {
++ "@ckeditor/ckeditor5-core": "43.2.0",
++ "@ckeditor/ckeditor5-enter": "43.2.0",
++ "@ckeditor/ckeditor5-typing": "43.2.0",
++ "@ckeditor/ckeditor5-ui": "43.2.0",
++ "@ckeditor/ckeditor5-utils": "43.2.0",
++ "ckeditor5": "43.2.0"
++ },
++ "devDependencies": {
++ "@ckeditor/ckeditor5-basic-styles": "43.2.0",
++ "@ckeditor/ckeditor5-dev-utils": "^43.0.0",
++ "@ckeditor/ckeditor5-editor-classic": "43.2.0",
++ "@ckeditor/ckeditor5-engine": "43.2.0",
++ "@ckeditor/ckeditor5-heading": "43.2.0",
++ "@ckeditor/ckeditor5-image": "43.2.0",
++ "@ckeditor/ckeditor5-list": "43.2.0",
++ "@ckeditor/ckeditor5-paragraph": "43.2.0",
++ "@ckeditor/ckeditor5-table": "43.2.0",
++ "@ckeditor/ckeditor5-theme-lark": "43.2.0",
++ "typescript": "5.0.4",
++ "webpack": "^5.94.0",
++ "webpack-cli": "^5.1.4"
++ },
++ "engines": {
++ "node": ">=18.0.0",
++ "npm": ">=5.7.1"
++ },
++ "author": "Sauli Anto",
++ "license": "ISC",
++ "bugs": "https://github.com/TriliumNext/ckeditor5-math/issues",
++ "repository": {
++ "type": "git",
++ "url": "https://github.com/TriliumNext/ckeditor5-math.git"
++ },
++ "files": [
++ "lang",
++ "src/**/*.js",
++ "src/**/*.d.ts",
++ "build",
++ "theme",
++ "ckeditor5-metadata.json",
++ "CHANGELOG.md"
++ ],
++ "scripts": {
++ "ts:build": "tsc -p ./tsconfig.release.json",
++ "ts:clear": "npx rimraf \"src/**/*.@(js|d.ts)\"",
++ "dll:build": "ckeditor5-package-tools dll:build",
++ "dll:serve": "http-server ./ -o sample/dll.html",
++ "lint": "eslint --quiet --ext .ts src/",
++ "lint:fix": "eslint --quiet --fix --ext .ts src/",
++ "stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css'",
++ "test": "ckeditor5-package-tools test",
++ "prepare": "yarn run dll:build",
++ "prepublishOnly": "yarn run ts:build && ckeditor5-package-tools export-package-as-javascript",
++ "postpublish": "yarn run ts:clear && ckeditor5-package-tools export-package-as-typescript",
++ "start": "ckeditor5-package-tools start"
++ },
++ "lint-staged": {
++ "**/*.ts": [
++ "eslint --quiet"
++ ],
++ "**/*.css": [
++ "stylelint --quiet --allow-empty-input"
++ ]
++ },
++ "eslintIgnore": [
++ "node_modules/**",
++ "packages/*/node_modules/**",
++ "packages/*/build/**",
++ "packages/*/src/lib/**"
++ ],
++ "husky": {
++ "hooks": {
++ "pre-commit": "lint-staged"
++ }
++ },
++ "packageManager": "[email protected]"
++}
diff --cc _regroup/ckeditor5-math/sample/ckeditor.js
index 0000000000,7917b1cf39..7917b1cf39
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/sample/ckeditor.js
+++ b/_regroup/ckeditor5-math/sample/ckeditor.js
diff --cc _regroup/ckeditor5-math/sample/dll.html
index 0000000000,112756751a..112756751a
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/sample/dll.html
+++ b/_regroup/ckeditor5-math/sample/dll.html
diff --cc _regroup/ckeditor5-math/sample/index.html
index 0000000000,3a76c14703..3a76c14703
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/sample/index.html
+++ b/_regroup/ckeditor5-math/sample/index.html
diff --cc _regroup/ckeditor5-math/screenshots/1.png
index 0000000000,316f7c51ff..316f7c51ff
mode 000000,100644..100644
Binary files differ
diff --cc _regroup/ckeditor5-math/screenshots/2.png
index 0000000000,d4f620ffd8..d4f620ffd8
mode 000000,100644..100644
Binary files differ
diff --cc _regroup/ckeditor5-math/screenshots/development-environment.png
index 0000000000,e10b9a8a5f..e10b9a8a5f
mode 000000,100644..100644
Binary files differ
diff --cc _regroup/ckeditor5-math/src/augmentation.ts
index 0000000000,cc32187ec9..cc32187ec9
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/augmentation.ts
+++ b/_regroup/ckeditor5-math/src/augmentation.ts
diff --cc _regroup/ckeditor5-math/src/autoformatmath.ts
index 0000000000,3aa7697c43..3aa7697c43
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/autoformatmath.ts
+++ b/_regroup/ckeditor5-math/src/autoformatmath.ts
diff --cc _regroup/ckeditor5-math/src/automath.ts
index 0000000000,e8eb5e9c1e..e8eb5e9c1e
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/automath.ts
+++ b/_regroup/ckeditor5-math/src/automath.ts
diff --cc _regroup/ckeditor5-math/src/index.ts
index 0000000000,39dc1a626e..39dc1a626e
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/index.ts
+++ b/_regroup/ckeditor5-math/src/index.ts
diff --cc _regroup/ckeditor5-math/src/math.ts
index 0000000000,cfd390fb72..cfd390fb72
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/math.ts
+++ b/_regroup/ckeditor5-math/src/math.ts
diff --cc _regroup/ckeditor5-math/src/mathcommand.ts
index 0000000000,5a8dbbe9f7..5a8dbbe9f7
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/mathcommand.ts
+++ b/_regroup/ckeditor5-math/src/mathcommand.ts
diff --cc _regroup/ckeditor5-math/src/mathediting.ts
index 0000000000,83a87e1ab7..83a87e1ab7
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/mathediting.ts
+++ b/_regroup/ckeditor5-math/src/mathediting.ts
diff --cc _regroup/ckeditor5-math/src/mathui.ts
index 0000000000,7cc76f9907..7cc76f9907
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/mathui.ts
+++ b/_regroup/ckeditor5-math/src/mathui.ts
diff --cc _regroup/ckeditor5-math/src/typings-external.ts
index 0000000000,d0bcf8b10d..d0bcf8b10d
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/typings-external.ts
+++ b/_regroup/ckeditor5-math/src/typings-external.ts
diff --cc _regroup/ckeditor5-math/src/ui/mainformview.ts
index 0000000000,0f302727fc..0f302727fc
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/ui/mainformview.ts
+++ b/_regroup/ckeditor5-math/src/ui/mainformview.ts
diff --cc _regroup/ckeditor5-math/src/ui/mathview.ts
index 0000000000,ab36bea882..ab36bea882
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/ui/mathview.ts
+++ b/_regroup/ckeditor5-math/src/ui/mathview.ts
diff --cc _regroup/ckeditor5-math/src/utils.ts
index 0000000000,79be614e38..79be614e38
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/src/utils.ts
+++ b/_regroup/ckeditor5-math/src/utils.ts
diff --cc _regroup/ckeditor5-math/tests/automath.ts
index 0000000000,ac93b1e550..ac93b1e550
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tests/automath.ts
+++ b/_regroup/ckeditor5-math/tests/automath.ts
diff --cc _regroup/ckeditor5-math/tests/index.ts
index 0000000000,6b61924458..6b61924458
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tests/index.ts
+++ b/_regroup/ckeditor5-math/tests/index.ts
diff --cc _regroup/ckeditor5-math/tests/lazyload.ts
index 0000000000,cfb6b6a428..cfb6b6a428
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tests/lazyload.ts
+++ b/_regroup/ckeditor5-math/tests/lazyload.ts
diff --cc _regroup/ckeditor5-math/tests/math.ts
index 0000000000,b539931a6b..b539931a6b
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tests/math.ts
+++ b/_regroup/ckeditor5-math/tests/math.ts
diff --cc _regroup/ckeditor5-math/tests/mathui.ts
index 0000000000,b39b67f6c6..b39b67f6c6
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tests/mathui.ts
+++ b/_regroup/ckeditor5-math/tests/mathui.ts
diff --cc _regroup/ckeditor5-math/tests/typings-external.ts
index 0000000000,ef09d847b6..ef09d847b6
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tests/typings-external.ts
+++ b/_regroup/ckeditor5-math/tests/typings-external.ts
diff --cc _regroup/ckeditor5-math/theme/icons/math.svg
index 0000000000,165bb3c198..165bb3c198
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/theme/icons/math.svg
+++ b/_regroup/ckeditor5-math/theme/icons/math.svg
diff --cc _regroup/ckeditor5-math/theme/mathform.css
index 0000000000,3b7b4047f9..3b7b4047f9
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/theme/mathform.css
+++ b/_regroup/ckeditor5-math/theme/mathform.css
diff --cc _regroup/ckeditor5-math/tsconfig.json
index 0000000000,0000000000..20be4716d9
new file mode 100644
--- /dev/null
+++ b/_regroup/ckeditor5-math/tsconfig.json
@@@ -1,0 -1,0 +1,25 @@@
++{
++ "compilerOptions": {
++ "lib": [
++ "DOM"
++ ],
++ "noImplicitAny": true,
++ "noImplicitOverride": true,
++ "strict": true,
++ "module": "es6",
++ "target": "es2020",
++ "sourceMap": true,
++ "allowJs": true,
++ "moduleResolution": "node",
++ "typeRoots": [
++ "typings",
++ "node_modules/@types"
++ ]
++ },
++ "include": [
++ "./sample",
++ "./src",
++ "./tests",
++ "./typings"
++ ]
++}
diff --cc _regroup/ckeditor5-math/tsconfig.release.json
index 0000000000,cd8b6f5967..cd8b6f5967
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/tsconfig.release.json
+++ b/_regroup/ckeditor5-math/tsconfig.release.json
diff --cc _regroup/ckeditor5-math/typings/svg.d.ts
index 0000000000,4657938300..4657938300
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/typings/svg.d.ts
+++ b/_regroup/ckeditor5-math/typings/svg.d.ts
diff --cc _regroup/ckeditor5-math/yarn.lock
index 0000000000,567f00d741..567f00d741
mode 000000,100644..100644
--- a/_regroup/ckeditor5-math/yarn.lock
+++ b/_regroup/ckeditor5-math/yarn.lock