Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IT-5456 | Update from upstream #9

Merged
merged 89 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 88 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
87d6c6e
Tag v34.1.0
tony Jun 21, 2022
f8b0c8e
docs(CHANGELOG): Note changelog differences
tony Jun 21, 2022
f15758b
New option: katexRenderOptions
tony Aug 3, 2022
46345f2
demo: Add example of katexRenderOptions
tony Aug 3, 2022
8a9e20e
docs: Update README for katexRenderOptions
tony Aug 3, 2022
f024563
docs(CHANGES): Note katexRenderOptions
tony Aug 3, 2022
b6fa87b
Tag v34.1.1
tony Aug 3, 2022
f7d3292
Bump CKEditor to 34.2.0
tony Sep 28, 2022
c6f7a22
Tag v34.2.0
tony Sep 28, 2022
f515d7f
Bump to v35.0.0
tony Sep 28, 2022
a243ea2
Tag for CKEditor 5 v35.0.1
tony Sep 28, 2022
16f731a
Release v35.1.0
tony Sep 28, 2022
bf008d0
build(deps): Bump to CKEditor 35.2.0
tony Oct 13, 2022
222dc45
docs(CHANGELOG): Update for latest
tony Oct 13, 2022
b6bae4e
build(deps): Bump dependencies to 35.2.1
tony Oct 13, 2022
071e19d
docs(CHANGELOG): Note v35.2.1 pinning release
tony Oct 13, 2022
7963330
build(deps): Bump to CKEditor 35.3.0
tony Nov 3, 2022
e28c8c0
docs(CHANGELOG): Note 35.3.0
tony Nov 3, 2022
e523907
build(deps): Bump to CKEditor 35.3.1
tony Nov 15, 2022
2e5d11f
docs(CHANGELOG): Note 35.3.1
tony Nov 15, 2022
9a79eee
build(deps): Bump to CKEditor 35.3.2
tony Nov 23, 2022
f33973f
docs(CHANGELOG): Note 35.3.2
tony Nov 23, 2022
627dd69
docs(CHANGES): Correct date
tony Nov 23, 2022
bee2d11
build(deps): Bump to CKEditor 35.4.0
tony Dec 13, 2022
cba6e9d
docs(CHANGES): Note update for 35.4.0
tony Dec 13, 2022
9cdc612
build(deps): Bump to CKEditor 36.0.0
tony Jan 26, 2023
dc0286a
docs(CHANGES): Note update for 36.0.0
tony Jan 26, 2023
2d3a1e3
build(deps): Bump to CKEditor 36.0.1
tony Feb 7, 2023
47b6e73
docs(CHANGES): Note update for 36.0.1
tony Feb 7, 2023
ad8ffe0
fix(MathView): Fix previewClassName
tony Feb 14, 2023
69bf418
docs(CHANGES): Note previewClassName update
tony Feb 14, 2023
0dbe462
Tag v36.0.2
tony Feb 14, 2023
3833617
Convert to DLL compatible plugin (#46)
DanielKulbe Feb 6, 2023
d729aa2
Add examples to index.html
DanielKulbe Feb 21, 2023
4d5b935
Fix math not rendered at editor startup
DanielKulbe Feb 21, 2023
819b55c
package: Release v36.0.3 (with DLL build from #83)
tony Mar 14, 2023
1876445
package: Fix package name
tony Mar 14, 2023
406aa5c
Revert "package: Fix package name"
tony Mar 14, 2023
c7b616a
#81 Make span element className configurable
DanielKulbe Feb 4, 2023
6bdbf1d
docs(CHANGELOG): Note addition of className config variable
tony Apr 3, 2023
328569e
docs(README): Use new package name
tony Apr 3, 2023
0f683f3
docs(CHANGELOG): Note package names
tony Apr 3, 2023
e010f62
Stub release of 36.0.4 (already released via @isaul32)
tony Apr 3, 2023
7db1334
docs(CHANGELOG): Note v36.0.4
tony Apr 3, 2023
ec54f7c
Tag v36.0.5
tony Apr 3, 2023
b66910b
docs(CHANGELOG): Note v36.0.5
tony Apr 3, 2023
549e175
:arrow_up: CKEditor package tools: 1.0.0-beta.8 -> beta.10
tony Apr 5, 2023
587370c
docs(CHANGELOG): Note update of package-tools
tony Apr 5, 2023
90c1085
Tag v36.0.6 (package-tools update, before v37.0.0)
tony Apr 5, 2023
c39f957
.nvmrc: Add v16.20.0 (latest v16 version)
tony Apr 5, 2023
8ee2e4b
Bump CKEditor to v37.0.1
tony Apr 5, 2023
ac7ee1b
Tag v37.0.0
tony Apr 5, 2023
a6c0822
Bump CKEditor v37.0.0 -> v37.0.1
tony Apr 5, 2023
6c194e8
Tag v37.0.1
tony Apr 5, 2023
c95ecf5
fix(config): Fix loading with no config object
tony Apr 5, 2023
888fdd7
docs(CHANGELOG): Note config fix and 37.0.1 (earlier)
tony Apr 5, 2023
023f95d
Tag v37.0.2 (config fix from #98)
tony Apr 5, 2023
ac0926a
Bump CKEditor v37.0.1 -> v37.1.0
tony Apr 19, 2023
1eefac1
docs(CHANGELOG): Note v37.1.0 update
tony Apr 19, 2023
26f1848
Tag v37.1.0
tony Apr 19, 2023
9ab9152
Bump CKEditor v37.1.0 -> v38.0.0
tony Jun 20, 2023
121248b
Tag v38.0.0
tony Jun 20, 2023
b8b5f04
Tag v38.0.1
tony Jun 20, 2023
e903057
docs(README): Note TypeScript typings for TypeScript builds
tony Jun 20, 2023
692a2fa
build(deps): CKEditor5-package-tools: beta.10 -> 1.0.0
tony Jun 21, 2023
5e723dc
build(deps): eslint-config-ckeditor5: 4.1.1 to 5.0.1
tony Jun 21, 2023
9ab561a
docs(CHANGELOG): Note package updates
tony Jun 21, 2023
bd8d377
docs(CHANGELOG): Note typescript workaround
tony Jun 21, 2023
3c931c8
build(deps): CKEditor 38.0.1 -> 38.1.0
tony Jul 26, 2023
ed741d4
build(deps): CKEditor5-package-tools: 1.0.0 -> 1.1.0
tony Jul 26, 2023
d6e893c
release: v38.1.0
tony Jul 26, 2023
7ce1dbd
build(deps): CKEditor 38.1.0 -> 38.1.1
tony Jul 26, 2023
49ddf2e
release: v38.1.1
tony Jul 26, 2023
0377354
build(deps): CKEditor 38.1.1 -> 39.0.0
tony Aug 10, 2023
9816ad1
Release v39.0.0
tony Aug 10, 2023
d118da6
build(deps): CKEditor 39.0.0 -> 39.0.1
tony Aug 10, 2023
5b227e0
Release v39.0.1
tony Aug 10, 2023
e835313
build(deps): {es,style}lint-config-ckeditor5: Bump packages to 5.1.1
tony Sep 6, 2023
5be93cb
build(deps): CKEditor 39.0.1 -> 39.0.2
tony Sep 6, 2023
754e4e6
docs(CHANGELOG): Note update to v39.0.2 and linting updates
tony Sep 6, 2023
00d116b
Release v39.0.2
tony Sep 6, 2023
6eb132c
build(deps): CKEditor 39.0.2 -> 40.0.0
tony Oct 13, 2023
37855b9
packaging: Bump node.js minimum to v18 for CKEditor5 v40
tony Oct 13, 2023
0fc91af
Bump package to 40.0.0
tony Oct 13, 2023
bc44b7f
docs(CHANGELOG): Bump 39.0.2 to 40.0.0
tony Oct 13, 2023
7b9e250
docs(CHANGELOG): Note node.js bump
tony Oct 13, 2023
76c3bc3
Merge remote-tracking branch 'upstream/master' into IT-5456-upgrade-v3
kvas-damian Nov 15, 2023
2de8f65
IT-5456 | Fix import
kvas-damian Nov 15, 2023
41f075f
IT-5456 | bump to 40.1.0
kvas-damian Nov 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,jsx,ts}]
quote_type = single

[package.json]
indent_style = space
tab_width = 4
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

27 changes: 26 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,34 @@

module.exports = {
extends: 'ckeditor5',
root: true,
globals: {
'MathJax': true,
'katex': true,
'console': true
}
},
ignorePatterns: [
// Ignore the entire `build/` (the DLL build).
'build/**'
],
rules: {
// This rule disallows importing core DLL packages directly. Imports should be done using the `ckeditor5` package.
// Also, importing non-DLL packages is not allowed. If the package requires other features to work, they should be
// specified as soft-requirements.
// Read more: https://ckeditor.com/docs/ckeditor5/latest/builds/guides/migration/migration-to-26.html#soft-requirements.
'ckeditor5-rules/ckeditor-imports': 'error',

// This rule could not be found ???
'ckeditor5-rules/use-require-for-debug-mode-imports': 'off'
},
overrides: [
{
files: [ 'tests/**/*.js', 'sample/**/*.js' ],
rules: {
// To write complex tests, you may need to import files that are not exported in DLL files by default.
// Hence, imports CKEditor 5 packages in test files are not checked.
'ckeditor5-rules/ckeditor-imports': 'off'
}
}
]
};
19 changes: 18 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
* text=auto
* 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
node_modules/
build/
tmp/
sample/ckeditor.dist.js
package-lock.json
yarn-error.log
public
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12.1
234 changes: 234 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,240 @@

- Add latest changes here

## [40.0.0](https://github.com/isaul32/ckeditor5-math/compare/v39.0.2...v40.0.0) (2023-10-13)

- Update dependencies for CKEditor 40.0.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v40.0.0/CHANGELOG.md))
(#116)
- Bump minimum Node.js version to 18+ per CKEditor 40 requirements (#116)

## [39.0.2](https://github.com/isaul32/ckeditor5-math/compare/v39.0.1...v39.0.2) (2023-09-06)

- Update dependencies for CKEditor 39.0.2 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v39.0.2/CHANGELOG.md))
(#115)
- Update lint packages (#115):

- eslint-config-ckeditor5: ^5.0.1 → ^5.1.1
- stylelint-config-ckeditor5: >=4.1.1 → >=5.1.1

## [39.0.1](https://github.com/isaul32/ckeditor5-math/compare/v39.0.0...v39.0.1) (2023-08-10)

- Update dependencies for CKEditor 39.0.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v39.0.1/CHANGELOG.md))
(#113)

## [39.0.0](https://github.com/isaul32/ckeditor5-math/compare/v38.1.1...v39.0.0) (2023-08-10)

- Update dependencies for CKEditor 39.0.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v39.0.0/CHANGELOG.md))
(#112)

## [38.1.1](https://github.com/isaul32/ckeditor5-math/compare/v38.1.0...v38.1.1) (2023-07-26)

- Update dependencies for CKEditor 38.1.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v38.1.1/CHANGELOG.md))
(#109)

## [38.1.0](https://github.com/isaul32/ckeditor5-math/compare/v38.0.1...v38.1.0) (2023-07-26)

- Update dependencies for CKEditor 38.1.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v38.1.0/CHANGELOG.md))
(#108)

- Version updates (#106, #108)

- ckeditor5-package-tools: v1.0.0-beta.10 -> v1.1.0
([release
notes](https://github.com/ckeditor/ckeditor5-package-generator/blob/v1.1.0/CHANGELOG.md))
- eslint-config-ckeditor5: >=4.1.1 -> ^5.0.1
([release
notes](https://github.com/ckeditor/ckeditor5-linters-config/blob/v5.1.0/CHANGELOG.md))

- README: Note typing workaround for TypeScript builds (#105)

1. Create a `d.ts` declaration file, e.g. `typings/ckeditor5-math.d.ts`

```typescript
declare module '@isaul32/ckeditor5-math';
declare module '@isaul32/ckeditor5-math/src/math';
declare module '@isaul32/ckeditor5-math/src/autoformatmath';
```

2. In your [`tsconfig.json`](https://www.typescriptlang.org/tsconfig)'s
root-level [`include`](https://www.typescriptlang.org/tsconfig#include)
option, make sure your declaration file is covered, e.g.

```json
{
"extends": "ckeditor5/tsconfig.json",
"include": [
"src",
"typings",
"../../typings"
]
}
```

## [38.0.1](https://github.com/isaul32/ckeditor5-math/compare/v38.0.0...v38.0.1) (2023-06-20)

- Update dependencies for CKEditor 38.0.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v38.0.1/CHANGELOG.md))

## [38.0.0](https://github.com/isaul32/ckeditor5-math/compare/v37.1.0...v38.0.0) (2023-06-20)

- Update dependencies for CKEditor 38.0.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v38.0.0/CHANGELOG.md))

## [37.1.0](https://github.com/isaul32/ckeditor5-math/compare/v37.0.2...v37.1.0) (2023-04-19)

- Update dependencies for CKEditor 37.1.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v37.1.0/CHANGELOG.md))

## [37.0.2](https://github.com/isaul32/ckeditor5-math/compare/v37.0.1...v37.0.2) (2023-04-05)

- Fix loading of ckeditor5-math when no config object is declared in build
(#98)

## [37.0.1](https://github.com/isaul32/ckeditor5-math/compare/v37.0.0...v36.0.1) (2023-04-05)

- Update dependencies for CKEditor 37.0.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v37.0.1/CHANGELOG.md))

## [37.0.0](https://github.com/isaul32/ckeditor5-math/compare/v36.0.6...v37.0.0) (2023-04-05)

- Update dependencies for CKEditor 37.0.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v37.0.0/CHANGELOG.md))
- Bump minimum node version to v16 (per CKEditor v37's requirements)
- Add a .nvmrc for nvm users

## [36.0.7](https://github.com/isaul32/ckeditor5-math/compare/v36.0.6...v36.0.7) (2023-04-05)

- Fix loading of ckeditor5-math when no config object is declared in build
(#97)

## [36.0.6](https://github.com/isaul32/ckeditor5-math/compare/v36.0.5...v36.0.6) (2023-04-05)

- :arrow_up: CKEditor package tools: 1.0.0-beta.8 -> beta.10

See also: https://github.com/ckeditor/ckeditor5-package-generator/blob/v1.0.0-beta.10/CHANGELOG.md

## [36.0.5](https://github.com/isaul32/ckeditor5-math/compare/v36.0.4...v36.0.5) (2023-04-03)

- Update docs for new package name (#91)

- Old: ckeditor5-math
- New: @isaul32/ckeditor5-math

- New feature: Make className of span element configurable (#82, thank you
@DanielKulbe)

## [36.0.4](https://github.com/isaul32/ckeditor5-math/compare/v36.0.3...v36.0.4) (2023-03-13)

- New package name

- Old: ckeditor5-math
- New: @isaul32/ckeditor5-math

## [36.0.3](https://github.com/isaul32/ckeditor5-math/compare/v36.0.2...v36.0.3) (2023-03-13)

- Move to a DLL compatible plugin (#83)

Credit: @DanielKulbe

## [36.0.2](https://github.com/isaul32/ckeditor5-math/compare/v36.0.1...v36.0.2) (2023-02-14)

- Fix `previewClassName` (#86)

## [36.0.1](https://github.com/isaul32/ckeditor5-math/compare/v36.0.0...v36.0.1) (2023-01-26)

- Update dependencies for CKEditor 36.0.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v36.0.1/CHANGELOG.md))

## [36.0.0](https://github.com/isaul32/ckeditor5-math/compare/v35.4.0...v36.0.0) (2023-01-26)

- Update dependencies for CKEditor 36.0.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v36.0.0/CHANGELOG.md))

## [35.4.0](https://github.com/isaul32/ckeditor5-math/compare/v35.3.2...v35.4.0) (2022-12-13)

- Update dependencies for CKEditor 35.4.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.4.0/CHANGELOG.md))

## [35.3.2](https://github.com/isaul32/ckeditor5-math/compare/v35.3.1...v35.3.2) (2022-11-23)

- Update dependencies for CKEditor 35.3.2 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.3.2/CHANGELOG.md))

## [35.3.1](https://github.com/isaul32/ckeditor5-math/compare/v35.3.0...v35.3.1) (2022-11-15)

- Update dependencies for CKEditor 35.3.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.3.1/CHANGELOG.md))

## [35.3.0](https://github.com/isaul32/ckeditor5-math/compare/v35.2.1...v35.3.0) (2022-11-03)

- Update dependencies for CKEditor 35.3.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.3.0/CHANGELOG.md))

## [35.2.1](https://github.com/isaul32/ckeditor5-math/compare/v35.2.0...v35.2.1) (2022-10-13)

- Update dependencies for CKEditor 35.2.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.2.1/CHANGELOG.md))

## [35.2.0](https://github.com/isaul32/ckeditor5-math/compare/v35.1.0...v35.2.0) (2022-10-13)

- Update dependencies for CKEditor 35.2.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.2.0/CHANGELOG.md))

## [35.1.0](https://github.com/isaul32/ckeditor5-math/compare/v35.0.1...v35.1.0) (2022-09-28)

- Update dependencies for CKEditor 35.1.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.1.0/CHANGELOG.md))

## [35.0.1](https://github.com/isaul32/ckeditor5-math/compare/v35.0.0...v35.0.1) (2022-09-28)

- Update dependencies for CKEditor 35.0.1 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.0.1/CHANGELOG.md))

## [35.0.0](https://github.com/isaul32/ckeditor5-math/compare/v34.2.0...v35.0.0) (2022-09-28)

- Update dependencies for CKEditor 35.0.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v35.0.0/CHANGELOG.md))

## [34.2.0](https://github.com/isaul32/ckeditor5-math/compare/v34.1.1...v34.2.0) (2022-09-28)

- Update dependencies for CKEditor 34.2.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v34.2.0/CHANGELOG.md))

## [34.1.1](https://github.com/isaul32/ckeditor5-math/compare/v34.1.0...v34.1.1) (2022-08-03)

- New configuration setting, `katexRenderOptions` (optional) - for KaTeX engines. Accepts object of `katex.render()` / `katex.renderToString()` [options](https://katex.org/docs/options.html):

```js
InlineEditor.defaultConfig = {
// ...
math: {
engine: 'katex'
katexRenderOptions: {
macros: {
"\\neq": "\\mathrel{\\char`≠}",
},
},
}
}
```

via PR [#64](https://github.com/isaul32/ckeditor5-math/pull/64) by [Tony
Narlock](https://www.git-pull.com).

## [34.1.0](https://github.com/isaul32/ckeditor5-math/compare/v34.0.0...v34.1.0) (2022-06-21)

- Update dependencies for CKEditor 34.1.0 ([Release
notes](https://github.com/ckeditor/ckeditor5/blob/v34.1.0/CHANGELOG.md))
- Changelog:
- Begin adding dates to releases
- Remove _(current)_, which was being applied to old releases incorrectly up to last release

## [34.0.0](https://github.com/isaul32/ckeditor5-math/compare/v33.0.0...v34.0.0) (2022-05-12)

- Update dependencies for CKEditor 34.0.0 ([Release
Expand Down
Loading