diff --git a/.changeset/four-carrots-remain.md b/.changeset/four-carrots-remain.md deleted file mode 100644 index 0efa3d40..00000000 --- a/.changeset/four-carrots-remain.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@stackoverflow/stacks-editor": minor ---- - -- Added Stack Snippets support -- Moved around External Plugins for QoL improvements -- Added a parameter to control image uploader file size limit -- Moved to changeset version control -- Removed extraneous code for code block processors diff --git a/CHANGELOG.md b/CHANGELOG.md index cb73fe55..a2e64103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,428 +1,394 @@ # Changelog +## 0.11.0 + +### Minor Changes + +- [#414](https://github.com/StackExchange/Stacks-Editor/pull/414) [`cea49b5`](https://github.com/StackExchange/Stacks-Editor/commit/cea49b568cdb077ffea2ba7a691345698863b80f) Thanks [@threefjefff](https://github.com/threefjefff)! - - Added Stack Snippets support + - Moved around External Plugins for QoL improvements + - Added a parameter to control image uploader file size limit + - Moved to changeset version control + - Removed extraneous code for code block processors + All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ### [0.10.11](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.10...v0.10.11) (2025-03-24) - ### Features -* devx - add parser logging for each rule stage ([#401](https://github.com/StackExchange/Stacks-Editor/issues/401)) ([3bea908](https://github.com/StackExchange/Stacks-Editor/commit/3bea908e85363a2e726ccac208ecd19291bc29fe)) - +- devx - add parser logging for each rule stage ([#401](https://github.com/StackExchange/Stacks-Editor/issues/401)) ([3bea908](https://github.com/StackExchange/Stacks-Editor/commit/3bea908e85363a2e726ccac208ecd19291bc29fe)) ### Bug Fixes -* **link-editor:** link editor glitchiness tweaks ([#403](https://github.com/StackExchange/Stacks-Editor/issues/403)) ([218d4bc](https://github.com/StackExchange/Stacks-Editor/commit/218d4bc8736a93d67b556137ff6d8a639b946b12)) -* **tooltips:** tooltips always go below buttons ([#399](https://github.com/StackExchange/Stacks-Editor/issues/399)) ([f44f8ed](https://github.com/StackExchange/Stacks-Editor/commit/f44f8edea1801e9ab720b14e872893fef7796990)) +- **link-editor:** link editor glitchiness tweaks ([#403](https://github.com/StackExchange/Stacks-Editor/issues/403)) ([218d4bc](https://github.com/StackExchange/Stacks-Editor/commit/218d4bc8736a93d67b556137ff6d8a639b946b12)) +- **tooltips:** tooltips always go below buttons ([#399](https://github.com/StackExchange/Stacks-Editor/issues/399)) ([f44f8ed](https://github.com/StackExchange/Stacks-Editor/commit/f44f8edea1801e9ab720b14e872893fef7796990)) ### [0.10.10](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.9...v0.10.10) (2025-03-17) - ### Bug Fixes -* **code-blocks:** add empty paragraph at end when using three backticks to create code block ([#396](https://github.com/StackExchange/Stacks-Editor/issues/396)) ([a689fdc](https://github.com/StackExchange/Stacks-Editor/commit/a689fdcb2f87cf8e5572ab8ab4e0417841c227ca)) -* **inline-code:** disallow "inline code" when selection has linebreaks ([#394](https://github.com/StackExchange/Stacks-Editor/issues/394)) ([d8f7ce6](https://github.com/StackExchange/Stacks-Editor/commit/d8f7ce66ed7e80ac5fba182a17347c88fc73dff1)) -* **markdown:** Fix code block selection off by one error ([#393](https://github.com/StackExchange/Stacks-Editor/issues/393)) ([994162e](https://github.com/StackExchange/Stacks-Editor/commit/994162ee32905728748885fa962079406ad2b2cb)) +- **code-blocks:** add empty paragraph at end when using three backticks to create code block ([#396](https://github.com/StackExchange/Stacks-Editor/issues/396)) ([a689fdc](https://github.com/StackExchange/Stacks-Editor/commit/a689fdcb2f87cf8e5572ab8ab4e0417841c227ca)) +- **inline-code:** disallow "inline code" when selection has linebreaks ([#394](https://github.com/StackExchange/Stacks-Editor/issues/394)) ([d8f7ce6](https://github.com/StackExchange/Stacks-Editor/commit/d8f7ce66ed7e80ac5fba182a17347c88fc73dff1)) +- **markdown:** Fix code block selection off by one error ([#393](https://github.com/StackExchange/Stacks-Editor/issues/393)) ([994162e](https://github.com/StackExchange/Stacks-Editor/commit/994162ee32905728748885fa962079406ad2b2cb)) ### [0.10.9](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.8...v0.10.9) (2025-03-07) - ### Bug Fixes -* **preview:** Fix constant layout shift as preview rerenders ([#389](https://github.com/StackExchange/Stacks-Editor/issues/389)) ([be56d39](https://github.com/StackExchange/Stacks-Editor/commit/be56d39e24a81a16e8ab05b5fe196d588b7c6f06)) +- **preview:** Fix constant layout shift as preview rerenders ([#389](https://github.com/StackExchange/Stacks-Editor/issues/389)) ([be56d39](https://github.com/StackExchange/Stacks-Editor/commit/be56d39e24a81a16e8ab05b5fe196d588b7c6f06)) ### [0.10.8](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.7...v0.10.8) (2025-03-05) - ### Bug Fixes -* **code-blocks:** preserve line breaks when toggling ([#385](https://github.com/StackExchange/Stacks-Editor/issues/385)) ([cdfade9](https://github.com/StackExchange/Stacks-Editor/commit/cdfade976c38888385f3d771c58028be2fb5e947)) -* **code-blocks:** press Enter at start of first code block to create paragraph ([#384](https://github.com/StackExchange/Stacks-Editor/issues/384)) ([94bac97](https://github.com/StackExchange/Stacks-Editor/commit/94bac97a8680aafc571f934a7f8006d05897a04d)) -* **code-blocks:** remove buggy "exit code block" functionality ([#383](https://github.com/StackExchange/Stacks-Editor/issues/383)) ([2ace7a9](https://github.com/StackExchange/Stacks-Editor/commit/2ace7a97c5d764658cc4e795049648fed8fb026b)) -* **escape-char:** resolve an issue where escape chars were not being preserved when switching between modes ([#366](https://github.com/StackExchange/Stacks-Editor/issues/366)) ([8de12d2](https://github.com/StackExchange/Stacks-Editor/commit/8de12d20a973c8dbc96cb3dfcb12f35a3c1434a6)) +- **code-blocks:** preserve line breaks when toggling ([#385](https://github.com/StackExchange/Stacks-Editor/issues/385)) ([cdfade9](https://github.com/StackExchange/Stacks-Editor/commit/cdfade976c38888385f3d771c58028be2fb5e947)) +- **code-blocks:** press Enter at start of first code block to create paragraph ([#384](https://github.com/StackExchange/Stacks-Editor/issues/384)) ([94bac97](https://github.com/StackExchange/Stacks-Editor/commit/94bac97a8680aafc571f934a7f8006d05897a04d)) +- **code-blocks:** remove buggy "exit code block" functionality ([#383](https://github.com/StackExchange/Stacks-Editor/issues/383)) ([2ace7a9](https://github.com/StackExchange/Stacks-Editor/commit/2ace7a97c5d764658cc4e795049648fed8fb026b)) +- **escape-char:** resolve an issue where escape chars were not being preserved when switching between modes ([#366](https://github.com/StackExchange/Stacks-Editor/issues/366)) ([8de12d2](https://github.com/StackExchange/Stacks-Editor/commit/8de12d20a973c8dbc96cb3dfcb12f35a3c1434a6)) ### [0.10.7](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.6...v0.10.7) (2024-10-02) - ### Features -* Invert button group icons for better contrast ([#352](https://github.com/StackExchange/Stacks-Editor/issues/352)) ([5cea909](https://github.com/StackExchange/Stacks-Editor/commit/5cea9097e73df6eff76533a7390b56990ec8d0e6)) +- Invert button group icons for better contrast ([#352](https://github.com/StackExchange/Stacks-Editor/issues/352)) ([5cea909](https://github.com/StackExchange/Stacks-Editor/commit/5cea9097e73df6eff76533a7390b56990ec8d0e6)) ### [0.10.6](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.5...v0.10.6) (2024-04-24) - ### Features -* **image-upload:** add accepted file types option ([#304](https://github.com/StackExchange/Stacks-Editor/issues/304)) ([93bf622](https://github.com/StackExchange/Stacks-Editor/commit/93bf6224401a54177b057c5ad4f45b42150e524d)) - +- **image-upload:** add accepted file types option ([#304](https://github.com/StackExchange/Stacks-Editor/issues/304)) ([93bf622](https://github.com/StackExchange/Stacks-Editor/commit/93bf6224401a54177b057c5ad4f45b42150e524d)) ### Bug Fixes -* **image-upload:** ensure accept attribute of uploader is populated correctly ([9edcb68](https://github.com/StackExchange/Stacks-Editor/commit/9edcb6888ae64f925ccba4167b8e3abe3d63b0b0)) -* **image-upload:** make color contrast of content policy and branding help text accessible ([f57efd3](https://github.com/StackExchange/Stacks-Editor/commit/f57efd31f15668854c832e88b9db852a86c47c88)) +- **image-upload:** ensure accept attribute of uploader is populated correctly ([9edcb68](https://github.com/StackExchange/Stacks-Editor/commit/9edcb6888ae64f925ccba4167b8e3abe3d63b0b0)) +- **image-upload:** make color contrast of content policy and branding help text accessible ([f57efd3](https://github.com/StackExchange/Stacks-Editor/commit/f57efd31f15668854c832e88b9db852a86c47c88)) ### [0.10.5](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.4...v0.10.5) (2024-03-28) - ### Features -* **list:** enhance rich text list editing experience ([#298](https://github.com/StackExchange/Stacks-Editor/issues/298)) ([998c820](https://github.com/StackExchange/Stacks-Editor/commit/998c820140fee37f29b2cc6478132197f0135120)) - +- **list:** enhance rich text list editing experience ([#298](https://github.com/StackExchange/Stacks-Editor/issues/298)) ([998c820](https://github.com/StackExchange/Stacks-Editor/commit/998c820140fee37f29b2cc6478132197f0135120)) ### Bug Fixes -* **link-preview:** ensure spinner is not shown indefinetely when no preview results are available ([#289](https://github.com/StackExchange/Stacks-Editor/issues/289)) ([3ae036f](https://github.com/StackExchange/Stacks-Editor/commit/3ae036fa271418b6bba60b52c781a7a5f3898057)) - +- **link-preview:** ensure spinner is not shown indefinetely when no preview results are available ([#289](https://github.com/StackExchange/Stacks-Editor/issues/289)) ([3ae036f](https://github.com/StackExchange/Stacks-Editor/commit/3ae036fa271418b6bba60b52c781a7a5f3898057)) ### [0.10.4](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.3...v0.10.4) (2024-03-21) ### Dependencies -* bump @typescript-eslint/eslint-plugin from 7.0.2 to 7.3.1 https://github.com/StackExchange/Stacks-Editor/pull/290 -* bump @typescript-eslint/parser from 7.1.0 to 7.3.1 https://github.com/StackExchange/Stacks-Editor/pull/291 -* bump @playwright/test from 1.41.2 to 1.42.1 https://github.com/StackExchange/Stacks-Editor/pull/284 -* bump typescript from 5.3.3 to 5.4.2 https://github.com/StackExchange/Stacks-Editor/pull/283 -* bump @stackexchange/stacks from 2.2.0 to 2.3.0 https://github.com/StackExchange/Stacks-Editor/pull/293 - **Note**: This dependency update includes updates to support the new button group design for the markdown toggle. +- bump @typescript-eslint/eslint-plugin from 7.0.2 to 7.3.1 https://github.com/StackExchange/Stacks-Editor/pull/290 +- bump @typescript-eslint/parser from 7.1.0 to 7.3.1 https://github.com/StackExchange/Stacks-Editor/pull/291 +- bump @playwright/test from 1.41.2 to 1.42.1 https://github.com/StackExchange/Stacks-Editor/pull/284 +- bump typescript from 5.3.3 to 5.4.2 https://github.com/StackExchange/Stacks-Editor/pull/283 +- bump @stackexchange/stacks from 2.2.0 to 2.3.0 https://github.com/StackExchange/Stacks-Editor/pull/293 + **Note**: This dependency update includes updates to support the new button group design for the markdown toggle. ### [0.10.3](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.2...v0.10.3) (2024-03-06) - ### Dependencies -* build(deps-dev): bump cssnano from 6.0.4 to 6.0.5 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/278 -* build(deps-dev): bump eslint from 8.56.0 to 8.57.0 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/277 -* build(deps-dev): bump mini-css-extract-plugin from 2.8.0 to 2.8.1 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/279 -* build(deps-dev): bump postcss-loader from 8.1.0 to 8.1.1 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/281 -* build(deps-dev): bump @typescript-eslint/parser from 7.0.2 to 7.1.0 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/282 -* build(deps-dev): bump @commitlint/cli from 18.6.1 to 19.0.3 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/280 +- build(deps-dev): bump cssnano from 6.0.4 to 6.0.5 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/278 +- build(deps-dev): bump eslint from 8.56.0 to 8.57.0 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/277 +- build(deps-dev): bump mini-css-extract-plugin from 2.8.0 to 2.8.1 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/279 +- build(deps-dev): bump postcss-loader from 8.1.0 to 8.1.1 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/281 +- build(deps-dev): bump @typescript-eslint/parser from 7.0.2 to 7.1.0 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/282 +- build(deps-dev): bump @commitlint/cli from 18.6.1 to 19.0.3 by @dependabot in https://github.com/StackExchange/Stacks-Editor/pull/280 ### [0.10.2](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.1...v0.10.2) (2024-02-23) - ### Dependencies -* relax the peer dependency on `@stackoverflow/stacks` to include minor releases ([package.json](https://github.com/StackExchange/Stacks-Editor/blob/v0.10.2/package.json#L109)) +- relax the peer dependency on `@stackoverflow/stacks` to include minor releases ([package.json](https://github.com/StackExchange/Stacks-Editor/blob/v0.10.2/package.json#L109)) ### [0.10.1](https://github.com/StackExchange/Stacks-Editor/compare/v0.10.0...v0.10.1) (2024-02-21) - ### Dependencies -* build(deps): bump @stackoverflow/stacks-icons from 6.0.0 to [6.0.1](https://github.com/StackExchange/Stacks-Icons/releases/tag/v6.0.1) https://github.com/StackExchange/Stacks-Editor/commit/e16f451d7f6eaf01686df8d5ee0b91a981688222 +- build(deps): bump @stackoverflow/stacks-icons from 6.0.0 to [6.0.1](https://github.com/StackExchange/Stacks-Icons/releases/tag/v6.0.1) https://github.com/StackExchange/Stacks-Editor/commit/e16f451d7f6eaf01686df8d5ee0b91a981688222 ## [0.10.0](https://github.com/StackExchange/Stacks-Editor/compare/v0.9.1...v0.10.0) (2024-02-07) - ### Bug Fixes -* **autoformatting:** prevent autoformatting when the first underscore is preceded by a non-whitespace character ([#262](https://github.com/StackExchange/Stacks-Editor/issues/262)) ([5e45ac2](https://github.com/StackExchange/Stacks-Editor/commit/5e45ac29b897eaf78c46e0ba02c869b91762dba3)) -* **controls:** improve focus style to meet WCAG 2.2 AA ([#267](https://github.com/StackExchange/Stacks-Editor/issues/267)) ([7cbaf5e](https://github.com/StackExchange/Stacks-Editor/commit/7cbaf5e67de4caafd0dd33c161dba69ef5f0ba52)) -* **deps:** upgrade @stackoverflow/stacks to v2.0.8 ([a19a8a3](https://github.com/StackExchange/Stacks-Editor/commit/a19a8a361c70ca261117ec9eef7caf6737ae7f26)) -* **deps:** upgrade markdown-it to v13.0.2 ([e047893](https://github.com/StackExchange/Stacks-Editor/commit/e047893e337a4ba79a36608831d7ac10270187d9)) -* **deps:** upgrade prosemirror libs to latest minor releases ([869c83d](https://github.com/StackExchange/Stacks-Editor/commit/869c83d6574086e612b603eea72e4ea5b6a708dd)) -* **deps:** upgrade prosemirror libs to latest patches ([a2eeedf](https://github.com/StackExchange/Stacks-Editor/commit/a2eeedfe8f0716d3a76f7e38181186d28cff7b29)) +- **autoformatting:** prevent autoformatting when the first underscore is preceded by a non-whitespace character ([#262](https://github.com/StackExchange/Stacks-Editor/issues/262)) ([5e45ac2](https://github.com/StackExchange/Stacks-Editor/commit/5e45ac29b897eaf78c46e0ba02c869b91762dba3)) +- **controls:** improve focus style to meet WCAG 2.2 AA ([#267](https://github.com/StackExchange/Stacks-Editor/issues/267)) ([7cbaf5e](https://github.com/StackExchange/Stacks-Editor/commit/7cbaf5e67de4caafd0dd33c161dba69ef5f0ba52)) +- **deps:** upgrade @stackoverflow/stacks to v2.0.8 ([a19a8a3](https://github.com/StackExchange/Stacks-Editor/commit/a19a8a361c70ca261117ec9eef7caf6737ae7f26)) +- **deps:** upgrade markdown-it to v13.0.2 ([e047893](https://github.com/StackExchange/Stacks-Editor/commit/e047893e337a4ba79a36608831d7ac10270187d9)) +- **deps:** upgrade prosemirror libs to latest minor releases ([869c83d](https://github.com/StackExchange/Stacks-Editor/commit/869c83d6574086e612b603eea72e4ea5b6a708dd)) +- **deps:** upgrade prosemirror libs to latest patches ([a2eeedf](https://github.com/StackExchange/Stacks-Editor/commit/a2eeedfe8f0716d3a76f7e38181186d28cff7b29)) ### [0.9.1](https://github.com/StackExchange/Stacks-Editor/compare/v0.9.0...v0.9.1) (2023-11-01) - ### Bug Fixes -* **a11y:** improve btns high contrast mode ([#259](https://github.com/StackExchange/Stacks-Editor/issues/259)) ([f883361](https://github.com/StackExchange/Stacks-Editor/commit/f883361079e06c05d5f141ce12d29e5f5741fcce)) -* **a11y:** use disabled attribute instead of .is-disabled ([#260](https://github.com/StackExchange/Stacks-Editor/issues/260)) ([afda06c](https://github.com/StackExchange/Stacks-Editor/commit/afda06cc2d5596d5030825c3dbd1d9992ff897f4)) +- **a11y:** improve btns high contrast mode ([#259](https://github.com/StackExchange/Stacks-Editor/issues/259)) ([f883361](https://github.com/StackExchange/Stacks-Editor/commit/f883361079e06c05d5f141ce12d29e5f5741fcce)) +- **a11y:** use disabled attribute instead of .is-disabled ([#260](https://github.com/StackExchange/Stacks-Editor/issues/260)) ([afda06c](https://github.com/StackExchange/Stacks-Editor/commit/afda06cc2d5596d5030825c3dbd1d9992ff897f4)) ## [0.9.0](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.9...v0.9.0) (2023-10-06) ### ⚠ BREAKING CHANGES -* **dependencies:** This version of Stacks-Editor is updated to work with [Stacks v2](https://github.com/StackExchange/Stacks/releases/tag/v2.0.0) and [Stacks-Icons v6.0](https://github.com/StackExchange/Stacks-Icons/releases/tag/v6.0.0). Please update those dependencies if included in your projects before upgrading to Stacks-Editor v0.9.0. +- **dependencies:** This version of Stacks-Editor is updated to work with [Stacks v2](https://github.com/StackExchange/Stacks/releases/tag/v2.0.0) and [Stacks-Icons v6.0](https://github.com/StackExchange/Stacks-Icons/releases/tag/v6.0.0). Please update those dependencies if included in your projects before upgrading to Stacks-Editor v0.9.0. ### [0.8.9](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.8...v0.8.9) (2023-09-22) - ### Bug Fixes -* **a11y:** add menuitem role to menu buttons ([#252](https://github.com/StackExchange/Stacks-Editor/issues/252)) ([25ac29b](https://github.com/StackExchange/Stacks-Editor/commit/25ac29b51b5b55e439b560d0f2fd83c00ba187bc)) -* **a11y:** make dropdown menuitems children of menu ([#255](https://github.com/StackExchange/Stacks-Editor/issues/255)) ([2409a56](https://github.com/StackExchange/Stacks-Editor/commit/2409a56343dafeaea4ece39fa7ddaf0eb2e89ca4)) -* **a11y:** prevent refocus of textarea on keyboard navigation ([#254](https://github.com/StackExchange/Stacks-Editor/issues/254)) ([c86457e](https://github.com/StackExchange/Stacks-Editor/commit/c86457e70ccc1ea525acac73a2478c2858edc952)) +- **a11y:** add menuitem role to menu buttons ([#252](https://github.com/StackExchange/Stacks-Editor/issues/252)) ([25ac29b](https://github.com/StackExchange/Stacks-Editor/commit/25ac29b51b5b55e439b560d0f2fd83c00ba187bc)) +- **a11y:** make dropdown menuitems children of menu ([#255](https://github.com/StackExchange/Stacks-Editor/issues/255)) ([2409a56](https://github.com/StackExchange/Stacks-Editor/commit/2409a56343dafeaea4ece39fa7ddaf0eb2e89ca4)) +- **a11y:** prevent refocus of textarea on keyboard navigation ([#254](https://github.com/StackExchange/Stacks-Editor/issues/254)) ([c86457e](https://github.com/StackExchange/Stacks-Editor/commit/c86457e70ccc1ea525acac73a2478c2858edc952)) ### [0.8.8](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.7...v0.8.8) (2023-06-29) - ### Features -* **image-upload:** add option to show a warning in the upload panel ([#251](https://github.com/StackExchange/Stacks-Editor/issues/251)) ([220f5e7](https://github.com/StackExchange/Stacks-Editor/commit/220f5e732f10927661759354c63fcff01ceeabfc)) -* **image-upload:** dispatch event for intercepting image upload flow ([#249](https://github.com/StackExchange/Stacks-Editor/issues/249)) ([a0d83c9](https://github.com/StackExchange/Stacks-Editor/commit/a0d83c99b622be4e27e14149e54a82ff08298a89)) - +- **image-upload:** add option to show a warning in the upload panel ([#251](https://github.com/StackExchange/Stacks-Editor/issues/251)) ([220f5e7](https://github.com/StackExchange/Stacks-Editor/commit/220f5e732f10927661759354c63fcff01ceeabfc)) +- **image-upload:** dispatch event for intercepting image upload flow ([#249](https://github.com/StackExchange/Stacks-Editor/issues/249)) ([a0d83c9](https://github.com/StackExchange/Stacks-Editor/commit/a0d83c99b622be4e27e14149e54a82ff08298a89)) ### Bug Fixes -* **a11y:** add menuitem role to dropdown items ([f00095e](https://github.com/StackExchange/Stacks-Editor/commit/f00095e87ab39ef2b05100e98c9cb6305b9ca182)) -* **a11y:** remove illegal (and superfluous) aria role from the image uploader browse label ([#246](https://github.com/StackExchange/Stacks-Editor/issues/246)) ([d388a13](https://github.com/StackExchange/Stacks-Editor/commit/d388a135c66096596fb65850f547724ff41e5086)) +- **a11y:** add menuitem role to dropdown items ([f00095e](https://github.com/StackExchange/Stacks-Editor/commit/f00095e87ab39ef2b05100e98c9cb6305b9ca182)) +- **a11y:** remove illegal (and superfluous) aria role from the image uploader browse label ([#246](https://github.com/StackExchange/Stacks-Editor/issues/246)) ([d388a13](https://github.com/StackExchange/Stacks-Editor/commit/d388a135c66096596fb65850f547724ff41e5086)) ### [0.8.7](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.6...v0.8.7) (2023-04-12) - ### Bug Fixes -* **a11y:** accessible mode switcher ([#244](https://github.com/StackExchange/Stacks-Editor/issues/244)) ([e77f4af](https://github.com/StackExchange/Stacks-Editor/commit/e77f4affc9e655120c2ca1acbd8636cbc014c8d8)) -* **commands:** update commonmark to select link instead of text ([608562a](https://github.com/StackExchange/Stacks-Editor/commit/608562a297f077e7547ac4315d11f61e25ef47c3)) +- **a11y:** accessible mode switcher ([#244](https://github.com/StackExchange/Stacks-Editor/issues/244)) ([e77f4af](https://github.com/StackExchange/Stacks-Editor/commit/e77f4affc9e655120c2ca1acbd8636cbc014c8d8)) +- **commands:** update commonmark to select link instead of text ([608562a](https://github.com/StackExchange/Stacks-Editor/commit/608562a297f077e7547ac4315d11f61e25ef47c3)) ### [0.8.6](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.5...v0.8.6) (2023-03-16) - ### Bug Fixes -* **commands:** update commonmark link insert to use the current origin instead of hardcoded url ([151c4a8](https://github.com/StackExchange/Stacks-Editor/commit/151c4a8609e5b9719e616fdfcc0837c3c3e285c2)) -* **commonmark:** allow shift-enter command ([#241](https://github.com/StackExchange/Stacks-Editor/issues/241)) ([0e9d659](https://github.com/StackExchange/Stacks-Editor/commit/0e9d659d4416eca60b2865d76758da2c2b7b27ab)) +- **commands:** update commonmark link insert to use the current origin instead of hardcoded url ([151c4a8](https://github.com/StackExchange/Stacks-Editor/commit/151c4a8609e5b9719e616fdfcc0837c3c3e285c2)) +- **commonmark:** allow shift-enter command ([#241](https://github.com/StackExchange/Stacks-Editor/issues/241)) ([0e9d659](https://github.com/StackExchange/Stacks-Editor/commit/0e9d659d4416eca60b2865d76758da2c2b7b27ab)) ### [0.8.5](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.4...v0.8.5) (2023-02-09) - ### Features -* **menu:** place code block and inline code menu buttons side by side ([#237](https://github.com/StackExchange/Stacks-Editor/issues/237)) ([e526265](https://github.com/StackExchange/Stacks-Editor/commit/e526265b9ec795891cc55122c4d96e7a6164e239)) +- **menu:** place code block and inline code menu buttons side by side ([#237](https://github.com/StackExchange/Stacks-Editor/issues/237)) ([e526265](https://github.com/StackExchange/Stacks-Editor/commit/e526265b9ec795891cc55122c4d96e7a6164e239)) ### [0.8.4](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.3...v0.8.4) (2023-01-11) - ### Features -* **bindings:** add Cmd/Ctrl+Shift+Z hot key for history redo ([#227](https://github.com/StackExchange/Stacks-Editor/issues/227)) ([e5ac816](https://github.com/StackExchange/Stacks-Editor/commit/e5ac816cc8444cffd4a3ad2d6e0b9693703acf3c)), closes [#187](https://github.com/StackExchange/Stacks-Editor/issues/187) +- **bindings:** add Cmd/Ctrl+Shift+Z hot key for history redo ([#227](https://github.com/StackExchange/Stacks-Editor/issues/227)) ([e5ac816](https://github.com/StackExchange/Stacks-Editor/commit/e5ac816cc8444cffd4a3ad2d6e0b9693703acf3c)), closes [#187](https://github.com/StackExchange/Stacks-Editor/issues/187) ### [0.8.3](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.2...v0.8.3) (2022-12-12) - ### Features -* **code-paste-handler:** remove support for auto-fencing pasted code in markdown mode ([008d0f3](https://github.com/StackExchange/Stacks-Editor/commit/008d0f3796e405ce6d1a065e39146979c8ae5b28)), closes [#230](https://github.com/StackExchange/Stacks-Editor/issues/230) +- **code-paste-handler:** remove support for auto-fencing pasted code in markdown mode ([008d0f3](https://github.com/StackExchange/Stacks-Editor/commit/008d0f3796e405ce6d1a065e39146979c8ae5b28)), closes [#230](https://github.com/StackExchange/Stacks-Editor/issues/230) ### [0.8.2](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.1...v0.8.2) (2022-10-20) - ### Features -* **tag-link:** add TagLinkOptions.disableMetaTags option ([eec8fef](https://github.com/StackExchange/Stacks-Editor/commit/eec8fefed0bb57e209c7fda95e2452a36c1a4bb3)), closes [#226](https://github.com/StackExchange/Stacks-Editor/issues/226) - +- **tag-link:** add TagLinkOptions.disableMetaTags option ([eec8fef](https://github.com/StackExchange/Stacks-Editor/commit/eec8fefed0bb57e209c7fda95e2452a36c1a4bb3)), closes [#226](https://github.com/StackExchange/Stacks-Editor/issues/226) ### Bug Fixes -* **menu:** ensure consistent y padding for all dropdown menus ([150363e](https://github.com/StackExchange/Stacks-Editor/commit/150363ea67eb3dde507e952b8e9d059197ab08b6)) +- **menu:** ensure consistent y padding for all dropdown menus ([150363e](https://github.com/StackExchange/Stacks-Editor/commit/150363ea67eb3dde507e952b8e9d059197ab08b6)) ### [0.8.1](https://github.com/StackExchange/Stacks-Editor/compare/v0.8.0...v0.8.1) (2022-09-28) - ### Features -* **a11y:** add `aria-multiline` and `role` attributes to contenteditable element ([a363120](https://github.com/StackExchange/Stacks-Editor/commit/a3631201099c528b3995fed1df34577b96b042fe)) -* **options:** add new `elementAttributes` option for setting arbitrary attributes onto the target ([8220dd6](https://github.com/StackExchange/Stacks-Editor/commit/8220dd6a3a317578b574a800f8b3dfbb65a0beb4)) - +- **a11y:** add `aria-multiline` and `role` attributes to contenteditable element ([a363120](https://github.com/StackExchange/Stacks-Editor/commit/a3631201099c528b3995fed1df34577b96b042fe)) +- **options:** add new `elementAttributes` option for setting arbitrary attributes onto the target ([8220dd6](https://github.com/StackExchange/Stacks-Editor/commit/8220dd6a3a317578b574a800f8b3dfbb65a0beb4)) ### Bug Fixes -* **commands:** be more context aware when inserting a horizontal rule to avoid creating a heading ([a15551b](https://github.com/StackExchange/Stacks-Editor/commit/a15551b65e7f64d4e6c0eebb1209e196223228ee)), closes [#192](https://github.com/StackExchange/Stacks-Editor/issues/192) +- **commands:** be more context aware when inserting a horizontal rule to avoid creating a heading ([a15551b](https://github.com/StackExchange/Stacks-Editor/commit/a15551b65e7f64d4e6c0eebb1209e196223228ee)), closes [#192](https://github.com/StackExchange/Stacks-Editor/issues/192) ## [0.8.0](https://github.com/StackExchange/Stacks-Editor/compare/v0.7.1...v0.8.0) (2022-09-14) - ### ⚠ BREAKING CHANGES -* **preview:** changed type of CommonmarkOptions.preview.renderer from a MarkdownIt instance to -an arbitrary rendering function; removed default preview renderer in favor of always requiring a -renderer method when enabled +- **preview:** changed type of CommonmarkOptions.preview.renderer from a MarkdownIt instance to + an arbitrary rendering function; removed default preview renderer in favor of always requiring a + renderer method when enabled ### Features -* **preview:** update markdown preview renderer to support an arbitrary renderer callback ([13bc4df](https://github.com/StackExchange/Stacks-Editor/commit/13bc4df8b3e9d2781faf801d46511578cb38b5a9)) - +- **preview:** update markdown preview renderer to support an arbitrary renderer callback ([13bc4df](https://github.com/StackExchange/Stacks-Editor/commit/13bc4df8b3e9d2781faf801d46511578cb38b5a9)) ### Bug Fixes -* **interface-manager:** partial fix for race condition causing multiple buildInterface calls ([1353dab](https://github.com/StackExchange/Stacks-Editor/commit/1353dab70403271928ba005536f00d561b379f58)) -* **link-editor:** fix link-editor dispatching on blur when not shown ([8785030](https://github.com/StackExchange/Stacks-Editor/commit/8785030ec45c37a17d68d11922bc1a0eee858551)) -* **stacks-editor:** fix mode toggle when preview is disabled and `shownByDefault` is enabled ([149f67f](https://github.com/StackExchange/Stacks-Editor/commit/149f67f3646aa027168cd3a4fd5b4f54ed7db20c)) +- **interface-manager:** partial fix for race condition causing multiple buildInterface calls ([1353dab](https://github.com/StackExchange/Stacks-Editor/commit/1353dab70403271928ba005536f00d561b379f58)) +- **link-editor:** fix link-editor dispatching on blur when not shown ([8785030](https://github.com/StackExchange/Stacks-Editor/commit/8785030ec45c37a17d68d11922bc1a0eee858551)) +- **stacks-editor:** fix mode toggle when preview is disabled and `shownByDefault` is enabled ([149f67f](https://github.com/StackExchange/Stacks-Editor/commit/149f67f3646aa027168cd3a4fd5b4f54ed7db20c)) ### [0.7.1](https://github.com/StackExchange/Stacks-Editor/compare/v0.7.0...v0.7.1) (2022-08-30) - ### Features -* **commonmark-editor:** add "more formatting" menu dropdown to match that in the rich-text editor ([e20b8f2](https://github.com/StackExchange/Stacks-Editor/commit/e20b8f2ac017f404e6bca906d42c7edce93888f6)) -* **menu:** show undo/redo buttons on devices that need a virtual keyboard ([15360bb](https://github.com/StackExchange/Stacks-Editor/commit/15360bbde8e28ea46c77f7427bd555414d7a1049)), closes [#210](https://github.com/StackExchange/Stacks-Editor/issues/210) -* **preview:** add additional mode toggle when commonmarkOptions.preview is enabled ([#217](https://github.com/StackExchange/Stacks-Editor/issues/217)) ([e664128](https://github.com/StackExchange/Stacks-Editor/commit/e664128f0d7ab4e3a9d9ee2445631587c724f6dc)), closes [#150](https://github.com/StackExchange/Stacks-Editor/issues/150) -* **reference-link:** add reference link syntax support for images ([d6efe2b](https://github.com/StackExchange/Stacks-Editor/commit/d6efe2ba0a34480723a46734673eb4f4ed72bc1f)), closes [#188](https://github.com/StackExchange/Stacks-Editor/issues/188) -* **rich-text-editor:** add code_block (un)indent (shift-)tab shortcuts ([#137](https://github.com/StackExchange/Stacks-Editor/issues/137)) ([d3e7624](https://github.com/StackExchange/Stacks-Editor/commit/d3e762464a9641a8eb2d51fdd185052a6810c585)), closes [#50](https://github.com/StackExchange/Stacks-Editor/issues/50) -* **rich-text-editor:** add rich-text tagLink, sub, sup, kbd, and spoiler entries/shortcuts ([#158](https://github.com/StackExchange/Stacks-Editor/issues/158)) ([4936bbe](https://github.com/StackExchange/Stacks-Editor/commit/4936bbe53d3c72b88332d21f49c704774add046e)), closes [#51](https://github.com/StackExchange/Stacks-Editor/issues/51) - +- **commonmark-editor:** add "more formatting" menu dropdown to match that in the rich-text editor ([e20b8f2](https://github.com/StackExchange/Stacks-Editor/commit/e20b8f2ac017f404e6bca906d42c7edce93888f6)) +- **menu:** show undo/redo buttons on devices that need a virtual keyboard ([15360bb](https://github.com/StackExchange/Stacks-Editor/commit/15360bbde8e28ea46c77f7427bd555414d7a1049)), closes [#210](https://github.com/StackExchange/Stacks-Editor/issues/210) +- **preview:** add additional mode toggle when commonmarkOptions.preview is enabled ([#217](https://github.com/StackExchange/Stacks-Editor/issues/217)) ([e664128](https://github.com/StackExchange/Stacks-Editor/commit/e664128f0d7ab4e3a9d9ee2445631587c724f6dc)), closes [#150](https://github.com/StackExchange/Stacks-Editor/issues/150) +- **reference-link:** add reference link syntax support for images ([d6efe2b](https://github.com/StackExchange/Stacks-Editor/commit/d6efe2ba0a34480723a46734673eb4f4ed72bc1f)), closes [#188](https://github.com/StackExchange/Stacks-Editor/issues/188) +- **rich-text-editor:** add code_block (un)indent (shift-)tab shortcuts ([#137](https://github.com/StackExchange/Stacks-Editor/issues/137)) ([d3e7624](https://github.com/StackExchange/Stacks-Editor/commit/d3e762464a9641a8eb2d51fdd185052a6810c585)), closes [#50](https://github.com/StackExchange/Stacks-Editor/issues/50) +- **rich-text-editor:** add rich-text tagLink, sub, sup, kbd, and spoiler entries/shortcuts ([#158](https://github.com/StackExchange/Stacks-Editor/issues/158)) ([4936bbe](https://github.com/StackExchange/Stacks-Editor/commit/4936bbe53d3c72b88332d21f49c704774add046e)), closes [#51](https://github.com/StackExchange/Stacks-Editor/issues/51) ### Bug Fixes -* **html:** fix newlines in-between html attributes breaking tag markup parsing ([6634898](https://github.com/StackExchange/Stacks-Editor/commit/66348988d5307d44fe91daf1888dc0c042b31445)), closes [#208](https://github.com/StackExchange/Stacks-Editor/issues/208) -* **markdown-serializer:** ease up on over stringent escaping in link urls ([33527f6](https://github.com/StackExchange/Stacks-Editor/commit/33527f6e8a2fc88bc83a300a69dbb1b0127a3adc)), closes [#218](https://github.com/StackExchange/Stacks-Editor/issues/218) -* **menu:** change to not mess with a block's classes if the visibility function is missing entirely ([6c62c04](https://github.com/StackExchange/Stacks-Editor/commit/6c62c04a53891b09fefd6dbb3c11831d6614f232)) -* **menu:** fix undo/redo buttons not working, along with ensuring that the state is properly updated ([bb686fb](https://github.com/StackExchange/Stacks-Editor/commit/bb686fb8a80b1ed8182970c8dbbce34bcc4c8b90)), closes [#172](https://github.com/StackExchange/Stacks-Editor/issues/172) [#214](https://github.com/StackExchange/Stacks-Editor/issues/214) +- **html:** fix newlines in-between html attributes breaking tag markup parsing ([6634898](https://github.com/StackExchange/Stacks-Editor/commit/66348988d5307d44fe91daf1888dc0c042b31445)), closes [#208](https://github.com/StackExchange/Stacks-Editor/issues/208) +- **markdown-serializer:** ease up on over stringent escaping in link urls ([33527f6](https://github.com/StackExchange/Stacks-Editor/commit/33527f6e8a2fc88bc83a300a69dbb1b0127a3adc)), closes [#218](https://github.com/StackExchange/Stacks-Editor/issues/218) +- **menu:** change to not mess with a block's classes if the visibility function is missing entirely ([6c62c04](https://github.com/StackExchange/Stacks-Editor/commit/6c62c04a53891b09fefd6dbb3c11831d6614f232)) +- **menu:** fix undo/redo buttons not working, along with ensuring that the state is properly updated ([bb686fb](https://github.com/StackExchange/Stacks-Editor/commit/bb686fb8a80b1ed8182970c8dbbce34bcc4c8b90)), closes [#172](https://github.com/StackExchange/Stacks-Editor/issues/172) [#214](https://github.com/StackExchange/Stacks-Editor/issues/214) ## [0.7.0](https://github.com/StackExchange/Stacks-Editor/compare/v0.6.1...v0.7.0) (2022-07-28) - ### ⚠ BREAKING CHANGES -* **tag-link:** TagLinkOptions.allowNonAscii and TagLinkOptions.allowMetaTags have been removed in -favor of the consumer handling all validation using the new TagLinkOptions.validate option -TagLinkOptions.renderer has been renamed to TagLinkOptions.render +- **tag-link:** TagLinkOptions.allowNonAscii and TagLinkOptions.allowMetaTags have been removed in + favor of the consumer handling all validation using the new TagLinkOptions.validate option + TagLinkOptions.renderer has been renamed to TagLinkOptions.render ### Features -* **commands:** change all shortcut labels to use capital letters ([#204](https://github.com/StackExchange/Stacks-Editor/issues/204)) ([0bc5c65](https://github.com/StackExchange/Stacks-Editor/commit/0bc5c65a51b5626889de24366fe5e3725f511e69)), closes [#166](https://github.com/StackExchange/Stacks-Editor/issues/166) -* **commonmark-editor:** move commonmark syntax highlighting to a new Lezer based system ([#176](https://github.com/StackExchange/Stacks-Editor/issues/176)) ([693a402](https://github.com/StackExchange/Stacks-Editor/commit/693a4024df413e75d36e4975c5db5d8ab3b9551b)), closes [#21](https://github.com/StackExchange/Stacks-Editor/issues/21) -* **link-editor:** open link on Mod-Click ([#130](https://github.com/StackExchange/Stacks-Editor/issues/130)) ([ea8da4b](https://github.com/StackExchange/Stacks-Editor/commit/ea8da4b109c93094079109e4b052d42f1621a560)), closes [#62](https://github.com/StackExchange/Stacks-Editor/issues/62) -* **markdown-serializer:** prefer sorting numeric link references in number order ([20f338a](https://github.com/StackExchange/Stacks-Editor/commit/20f338abea66dcaedc1157adb2cb91b223869bb5)), closes [#163](https://github.com/StackExchange/Stacks-Editor/issues/163) -* **markdown-serializer:** serialize code_block nodes to use fences by default ([f658969](https://github.com/StackExchange/Stacks-Editor/commit/f6589698ebc934edc8bf3ebcdbfac94e6d179e29)), closes [#168](https://github.com/StackExchange/Stacks-Editor/issues/168) -* **menu:** tweak active/selected button styling ([303e494](https://github.com/StackExchange/Stacks-Editor/commit/303e494ed5dc8de406f456f49884bb945066d084)) -* **stacks-editor:** change the mode toggle to a radio powered button group instead of a checkbox ([2df7f00](https://github.com/StackExchange/Stacks-Editor/commit/2df7f00ea404297bed7976b4f9501a0bc9376854)) -* **tag-link:** add all-purpose TagLinkOptions.validate function ([6ae6936](https://github.com/StackExchange/Stacks-Editor/commit/6ae693694c08be9afbad7f0668e0043ec747cef2)) - +- **commands:** change all shortcut labels to use capital letters ([#204](https://github.com/StackExchange/Stacks-Editor/issues/204)) ([0bc5c65](https://github.com/StackExchange/Stacks-Editor/commit/0bc5c65a51b5626889de24366fe5e3725f511e69)), closes [#166](https://github.com/StackExchange/Stacks-Editor/issues/166) +- **commonmark-editor:** move commonmark syntax highlighting to a new Lezer based system ([#176](https://github.com/StackExchange/Stacks-Editor/issues/176)) ([693a402](https://github.com/StackExchange/Stacks-Editor/commit/693a4024df413e75d36e4975c5db5d8ab3b9551b)), closes [#21](https://github.com/StackExchange/Stacks-Editor/issues/21) +- **link-editor:** open link on Mod-Click ([#130](https://github.com/StackExchange/Stacks-Editor/issues/130)) ([ea8da4b](https://github.com/StackExchange/Stacks-Editor/commit/ea8da4b109c93094079109e4b052d42f1621a560)), closes [#62](https://github.com/StackExchange/Stacks-Editor/issues/62) +- **markdown-serializer:** prefer sorting numeric link references in number order ([20f338a](https://github.com/StackExchange/Stacks-Editor/commit/20f338abea66dcaedc1157adb2cb91b223869bb5)), closes [#163](https://github.com/StackExchange/Stacks-Editor/issues/163) +- **markdown-serializer:** serialize code_block nodes to use fences by default ([f658969](https://github.com/StackExchange/Stacks-Editor/commit/f6589698ebc934edc8bf3ebcdbfac94e6d179e29)), closes [#168](https://github.com/StackExchange/Stacks-Editor/issues/168) +- **menu:** tweak active/selected button styling ([303e494](https://github.com/StackExchange/Stacks-Editor/commit/303e494ed5dc8de406f456f49884bb945066d084)) +- **stacks-editor:** change the mode toggle to a radio powered button group instead of a checkbox ([2df7f00](https://github.com/StackExchange/Stacks-Editor/commit/2df7f00ea404297bed7976b4f9501a0bc9376854)) +- **tag-link:** add all-purpose TagLinkOptions.validate function ([6ae6936](https://github.com/StackExchange/Stacks-Editor/commit/6ae693694c08be9afbad7f0668e0043ec747cef2)) ### Bug Fixes -* **code-paste-handler:** fix "global is not defined" error when compiling with Vite ([b7aaf5c](https://github.com/StackExchange/Stacks-Editor/commit/b7aaf5c85e7c4ae75aed58b2aecc8bc7c263da05)), closes [#159](https://github.com/StackExchange/Stacks-Editor/issues/159) -* **image-upload:** dropped/pasted images now properly load into the image uploader ([0bf0bdf](https://github.com/StackExchange/Stacks-Editor/commit/0bf0bdf1d4925f59a28a54b46527151aefb26cd8)), closes [#167](https://github.com/StackExchange/Stacks-Editor/issues/167) -* **image-upload:** improve image-upload pane layout on small viewport widths ([c47728a](https://github.com/StackExchange/Stacks-Editor/commit/c47728aaf514d89f3c92d29137b451f58c2c1d9b)), closes [#202](https://github.com/StackExchange/Stacks-Editor/issues/202) -* **markdown-serializer:** fix incorrect newline serialization of html_inline and html_block ([664e034](https://github.com/StackExchange/Stacks-Editor/commit/664e034dc39a3ec40fb95e31ba07c925ecbce9cf)), closes [#152](https://github.com/StackExchange/Stacks-Editor/issues/152) -* **menu:** fix crashes when a menu entry is null ([87063b9](https://github.com/StackExchange/Stacks-Editor/commit/87063b920f3f092f61ccdfbc98a76f7a2c839331)) -* **rich-text-editor:** allow any block node inside list items ([#157](https://github.com/StackExchange/Stacks-Editor/issues/157)) ([f59b72f](https://github.com/StackExchange/Stacks-Editor/commit/f59b72f763d0880ff3c644e80caf98b8e14dfe8d)), closes [#63](https://github.com/StackExchange/Stacks-Editor/issues/63) +- **code-paste-handler:** fix "global is not defined" error when compiling with Vite ([b7aaf5c](https://github.com/StackExchange/Stacks-Editor/commit/b7aaf5c85e7c4ae75aed58b2aecc8bc7c263da05)), closes [#159](https://github.com/StackExchange/Stacks-Editor/issues/159) +- **image-upload:** dropped/pasted images now properly load into the image uploader ([0bf0bdf](https://github.com/StackExchange/Stacks-Editor/commit/0bf0bdf1d4925f59a28a54b46527151aefb26cd8)), closes [#167](https://github.com/StackExchange/Stacks-Editor/issues/167) +- **image-upload:** improve image-upload pane layout on small viewport widths ([c47728a](https://github.com/StackExchange/Stacks-Editor/commit/c47728aaf514d89f3c92d29137b451f58c2c1d9b)), closes [#202](https://github.com/StackExchange/Stacks-Editor/issues/202) +- **markdown-serializer:** fix incorrect newline serialization of html_inline and html_block ([664e034](https://github.com/StackExchange/Stacks-Editor/commit/664e034dc39a3ec40fb95e31ba07c925ecbce9cf)), closes [#152](https://github.com/StackExchange/Stacks-Editor/issues/152) +- **menu:** fix crashes when a menu entry is null ([87063b9](https://github.com/StackExchange/Stacks-Editor/commit/87063b920f3f092f61ccdfbc98a76f7a2c839331)) +- **rich-text-editor:** allow any block node inside list items ([#157](https://github.com/StackExchange/Stacks-Editor/issues/157)) ([f59b72f](https://github.com/StackExchange/Stacks-Editor/commit/f59b72f763d0880ff3c644e80caf98b8e14dfe8d)), closes [#63](https://github.com/StackExchange/Stacks-Editor/issues/63) ### [0.6.1](https://github.com/StackExchange/Stacks-Editor/compare/v0.6.0...v0.6.1) (2022-07-05) - ### Bug Fixes -* **options:** fix crash on startup when `preview` option is unset ([c692e17](https://github.com/StackExchange/Stacks-Editor/commit/c692e17aaa26ad0a1a7626f33617a2f9f4ac88ed)), closes [#149](https://github.com/StackExchange/Stacks-Editor/issues/149) +- **options:** fix crash on startup when `preview` option is unset ([c692e17](https://github.com/StackExchange/Stacks-Editor/commit/c692e17aaa26ad0a1a7626f33617a2f9f4ac88ed)), closes [#149](https://github.com/StackExchange/Stacks-Editor/issues/149) ## [0.6.0](https://github.com/StackExchange/Stacks-Editor/compare/v0.5.1...v0.6.0) (2022-07-01) - ### Features -* **commonmark-editor:** add basic static markdown preview support ([#146](https://github.com/StackExchange/Stacks-Editor/issues/146)) ([bb9f862](https://github.com/StackExchange/Stacks-Editor/commit/bb9f8626648109e2187626a17ed85e807fb43956)), closes [#115](https://github.com/StackExchange/Stacks-Editor/issues/115) -* **commonmark-editor:** change copy behavior of commonmark content to be plain text instead of code ([485855d](https://github.com/StackExchange/Stacks-Editor/commit/485855db6ee8cda48f267a48cbaf6da2f4cde5b8)) -* **commonmark-editor:** detect and format pasted code like rich-text mode ([#147](https://github.com/StackExchange/Stacks-Editor/issues/147)) ([9d9841a](https://github.com/StackExchange/Stacks-Editor/commit/9d9841a9ee4dff30d7bc19196095c16517ed50e8)), closes [#135](https://github.com/StackExchange/Stacks-Editor/issues/135) -* **editor-plugin:** add external plugin support ([#141](https://github.com/StackExchange/Stacks-Editor/issues/141)) ([aca011f](https://github.com/StackExchange/Stacks-Editor/commit/aca011f58d48c35bdf836ac9ff5f29f8af84eaf7)) -* **link-editor:** change link editor from a popover to a plugin pane ([#142](https://github.com/StackExchange/Stacks-Editor/issues/142)) ([3e4c847](https://github.com/StackExchange/Stacks-Editor/commit/3e4c84777c9ace43c2a83494a6071f6ceae389a6)), closes [#19](https://github.com/StackExchange/Stacks-Editor/issues/19) - +- **commonmark-editor:** add basic static markdown preview support ([#146](https://github.com/StackExchange/Stacks-Editor/issues/146)) ([bb9f862](https://github.com/StackExchange/Stacks-Editor/commit/bb9f8626648109e2187626a17ed85e807fb43956)), closes [#115](https://github.com/StackExchange/Stacks-Editor/issues/115) +- **commonmark-editor:** change copy behavior of commonmark content to be plain text instead of code ([485855d](https://github.com/StackExchange/Stacks-Editor/commit/485855db6ee8cda48f267a48cbaf6da2f4cde5b8)) +- **commonmark-editor:** detect and format pasted code like rich-text mode ([#147](https://github.com/StackExchange/Stacks-Editor/issues/147)) ([9d9841a](https://github.com/StackExchange/Stacks-Editor/commit/9d9841a9ee4dff30d7bc19196095c16517ed50e8)), closes [#135](https://github.com/StackExchange/Stacks-Editor/issues/135) +- **editor-plugin:** add external plugin support ([#141](https://github.com/StackExchange/Stacks-Editor/issues/141)) ([aca011f](https://github.com/StackExchange/Stacks-Editor/commit/aca011f58d48c35bdf836ac9ff5f29f8af84eaf7)) +- **link-editor:** change link editor from a popover to a plugin pane ([#142](https://github.com/StackExchange/Stacks-Editor/issues/142)) ([3e4c847](https://github.com/StackExchange/Stacks-Editor/commit/3e4c84777c9ace43c2a83494a6071f6ceae389a6)), closes [#19](https://github.com/StackExchange/Stacks-Editor/issues/19) ### Bug Fixes -* **commonmark-editor:** fix commonmark editor treating all pasted html content as code ([6dc4556](https://github.com/StackExchange/Stacks-Editor/commit/6dc4556353fea70b340986381e58381c0ddaa105)) -* **commonmark-editor:** only select current paragraph on triple click ([#128](https://github.com/StackExchange/Stacks-Editor/issues/128)) ([7f1fa6c](https://github.com/StackExchange/Stacks-Editor/commit/7f1fa6cbeb12bf1a0ac2c9f476d82b6c5fe1b871)), closes [#27](https://github.com/StackExchange/Stacks-Editor/issues/27) -* **commonmark-editor:** prevent placeholder clipping ([#144](https://github.com/StackExchange/Stacks-Editor/issues/144)) ([a3d0669](https://github.com/StackExchange/Stacks-Editor/commit/a3d0669a01d702c5c08e198ca80690a16f720f57)) +- **commonmark-editor:** fix commonmark editor treating all pasted html content as code ([6dc4556](https://github.com/StackExchange/Stacks-Editor/commit/6dc4556353fea70b340986381e58381c0ddaa105)) +- **commonmark-editor:** only select current paragraph on triple click ([#128](https://github.com/StackExchange/Stacks-Editor/issues/128)) ([7f1fa6c](https://github.com/StackExchange/Stacks-Editor/commit/7f1fa6cbeb12bf1a0ac2c9f476d82b6c5fe1b871)), closes [#27](https://github.com/StackExchange/Stacks-Editor/issues/27) +- **commonmark-editor:** prevent placeholder clipping ([#144](https://github.com/StackExchange/Stacks-Editor/issues/144)) ([a3d0669](https://github.com/StackExchange/Stacks-Editor/commit/a3d0669a01d702c5c08e198ca80690a16f720f57)) ### [0.5.1](https://github.com/StackExchange/Stacks-Editor/compare/v0.5.0...v0.5.1) (2022-06-16) - ### Features -* **image-upload:** add `imageUpload.allowExternalUrls` option to allow uploads from external urls ([4b994d5](https://github.com/StackExchange/Stacks-Editor/commit/4b994d50650e7252428ec2e928dcb709ead22268)), closes [#43](https://github.com/StackExchange/Stacks-Editor/issues/43) -* **image-upload:** add `imageUpload.embedImagesAsLinks` setting support ([d778070](https://github.com/StackExchange/Stacks-Editor/commit/d77807027fe1eda8f718fe4c5a4271ecc5ee58f6)), closes [#61](https://github.com/StackExchange/Stacks-Editor/issues/61) -* **menu:** add keyboard shortcut labels to tooltips ([#127](https://github.com/StackExchange/Stacks-Editor/issues/127)) ([90d427a](https://github.com/StackExchange/Stacks-Editor/commit/90d427a8959795859fad08e7d132378193c69b02)), closes [#46](https://github.com/StackExchange/Stacks-Editor/issues/46) -* **plugins:** add new interface-manager plugin to coordinate different plugins' interfaces ([166b486](https://github.com/StackExchange/Stacks-Editor/commit/166b4861cb2debbedab9c9dda7d4b13d87e3034e)) -* **plugins:** add placeholder to empty input ([#116](https://github.com/StackExchange/Stacks-Editor/issues/116)) ([da2963e](https://github.com/StackExchange/Stacks-Editor/commit/da2963e77c2a1512ab21bb9f44bdad4860b9cc6e)), closes [#103](https://github.com/StackExchange/Stacks-Editor/issues/103) -* **rich-text-editor:** cycle heading levels on keyboard shortcut ([#131](https://github.com/StackExchange/Stacks-Editor/issues/131)) ([3be01a0](https://github.com/StackExchange/Stacks-Editor/commit/3be01a0fff4fa41ac6580aa234f965e7fa7199b9)), closes [#45](https://github.com/StackExchange/Stacks-Editor/issues/45) - +- **image-upload:** add `imageUpload.allowExternalUrls` option to allow uploads from external urls ([4b994d5](https://github.com/StackExchange/Stacks-Editor/commit/4b994d50650e7252428ec2e928dcb709ead22268)), closes [#43](https://github.com/StackExchange/Stacks-Editor/issues/43) +- **image-upload:** add `imageUpload.embedImagesAsLinks` setting support ([d778070](https://github.com/StackExchange/Stacks-Editor/commit/d77807027fe1eda8f718fe4c5a4271ecc5ee58f6)), closes [#61](https://github.com/StackExchange/Stacks-Editor/issues/61) +- **menu:** add keyboard shortcut labels to tooltips ([#127](https://github.com/StackExchange/Stacks-Editor/issues/127)) ([90d427a](https://github.com/StackExchange/Stacks-Editor/commit/90d427a8959795859fad08e7d132378193c69b02)), closes [#46](https://github.com/StackExchange/Stacks-Editor/issues/46) +- **plugins:** add new interface-manager plugin to coordinate different plugins' interfaces ([166b486](https://github.com/StackExchange/Stacks-Editor/commit/166b4861cb2debbedab9c9dda7d4b13d87e3034e)) +- **plugins:** add placeholder to empty input ([#116](https://github.com/StackExchange/Stacks-Editor/issues/116)) ([da2963e](https://github.com/StackExchange/Stacks-Editor/commit/da2963e77c2a1512ab21bb9f44bdad4860b9cc6e)), closes [#103](https://github.com/StackExchange/Stacks-Editor/issues/103) +- **rich-text-editor:** cycle heading levels on keyboard shortcut ([#131](https://github.com/StackExchange/Stacks-Editor/issues/131)) ([3be01a0](https://github.com/StackExchange/Stacks-Editor/commit/3be01a0fff4fa41ac6580aa234f965e7fa7199b9)), closes [#45](https://github.com/StackExchange/Stacks-Editor/issues/45) ### Bug Fixes -* **commonmark-editor:** prevent block change from stripping numbers ([#140](https://github.com/StackExchange/Stacks-Editor/issues/140)) ([1c18a0b](https://github.com/StackExchange/Stacks-Editor/commit/1c18a0b36febdc306aeb4c186d64722ee6f54e5f)), closes [#69](https://github.com/StackExchange/Stacks-Editor/issues/69) -* **html:** only parse inline html tags if the opening and closing tags are on the same line ([383c6db](https://github.com/StackExchange/Stacks-Editor/commit/383c6db921542e86fdd46c46322302b57f7c6698)), closes [#133](https://github.com/StackExchange/Stacks-Editor/issues/133) -* **image-upload:** improve image uploader i18n support ([b8e5730](https://github.com/StackExchange/Stacks-Editor/commit/b8e57304907fd240e9760ec524d0dada0038f38a)) +- **commonmark-editor:** prevent block change from stripping numbers ([#140](https://github.com/StackExchange/Stacks-Editor/issues/140)) ([1c18a0b](https://github.com/StackExchange/Stacks-Editor/commit/1c18a0b36febdc306aeb4c186d64722ee6f54e5f)), closes [#69](https://github.com/StackExchange/Stacks-Editor/issues/69) +- **html:** only parse inline html tags if the opening and closing tags are on the same line ([383c6db](https://github.com/StackExchange/Stacks-Editor/commit/383c6db921542e86fdd46c46322302b57f7c6698)), closes [#133](https://github.com/StackExchange/Stacks-Editor/issues/133) +- **image-upload:** improve image uploader i18n support ([b8e5730](https://github.com/StackExchange/Stacks-Editor/commit/b8e57304907fd240e9760ec524d0dada0038f38a)) ## [0.5.0](https://github.com/StackExchange/Stacks-Editor/compare/v0.4.2...v0.5.0) (2022-05-13) - ### ⚠ BREAKING CHANGES -* Stacks 1.0 contains breaking changes +- Stacks 1.0 contains breaking changes ### Features -* add basic description list (`