New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stackoverflow/stacks-editor

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackoverflow/stacks-editor - npm Package Versions

124

0.8.5

Diff
giamir
published 0.8.5 •

Changelog

Source

0.8.5 (2023-02-09)

Features

  • menu: place code block and inline code menu buttons side by side (#237) (e526265)
giamir
published 0.8.4 •

Changelog

Source

0.8.4 (2023-01-11)

Features

  • bindings: add Cmd/Ctrl+Shift+Z hot key for history redo (#227) (e5ac816), closes #187
benkelly
published 0.8.3 •

Changelog

Source

0.8.3 (2022-12-12)

Features

  • code-paste-handler: remove support for auto-fencing pasted code in markdown mode (008d0f3), closes #230
benkelly
published 0.8.2 •

Changelog

Source

0.8.2 (2022-10-20)

Features

  • tag-link: add TagLinkOptions.disableMetaTags option (eec8fef), closes #226

Bug Fixes

  • menu: ensure consistent y padding for all dropdown menus (150363e)
benkelly
published 0.8.1 •

Changelog

Source

0.8.1 (2022-09-28)

Features

  • a11y: add aria-multiline and role attributes to contenteditable element (a363120)
  • options: add new elementAttributes option for setting arbitrary attributes onto the target (8220dd6)

Bug Fixes

  • commands: be more context aware when inserting a horizontal rule to avoid creating a heading (a15551b), closes #192
benkelly
published 0.8.0 •

Changelog

Source

0.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

Features

  • preview: update markdown preview renderer to support an arbitrary renderer callback (13bc4df)

Bug Fixes

  • interface-manager: partial fix for race condition causing multiple buildInterface calls (1353dab)
  • link-editor: fix link-editor dispatching on blur when not shown (8785030)
  • stacks-editor: fix mode toggle when preview is disabled and shownByDefault is enabled (149f67f)
benkelly
published 0.7.1 •

Changelog

Source

0.7.1 (2022-08-30)

Features

  • commonmark-editor: add "more formatting" menu dropdown to match that in the rich-text editor (e20b8f2)
  • menu: show undo/redo buttons on devices that need a virtual keyboard (15360bb), closes #210
  • preview: add additional mode toggle when commonmarkOptions.preview is enabled (#217) (e664128), closes #150
  • reference-link: add reference link syntax support for images (d6efe2b), closes #188
  • rich-text-editor: add code_block (un)indent (shift-)tab shortcuts (#137) (d3e7624), closes #50
  • rich-text-editor: add rich-text tagLink, sub, sup, kbd, and spoiler entries/shortcuts (#158) (4936bbe), closes #51

Bug Fixes

  • html: fix newlines in-between html attributes breaking tag markup parsing (6634898), closes #208
  • markdown-serializer: ease up on over stringent escaping in link urls (33527f6), closes #218
  • menu: change to not mess with a block's classes if the visibility function is missing entirely (6c62c04)
  • menu: fix undo/redo buttons not working, along with ensuring that the state is properly updated (bb686fb), closes #172 #214
benkelly
published 0.7.0 •

Changelog

Source

0.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

Features

  • commands: change all shortcut labels to use capital letters (#204) (0bc5c65), closes #166
  • commonmark-editor: move commonmark syntax highlighting to a new Lezer based system (#176) (693a402), closes #21
  • link-editor: open link on Mod-Click (#130) (ea8da4b), closes #62
  • markdown-serializer: prefer sorting numeric link references in number order (20f338a), closes #163
  • markdown-serializer: serialize code_block nodes to use fences by default (f658969), closes #168
  • menu: tweak active/selected button styling (303e494)
  • stacks-editor: change the mode toggle to a radio powered button group instead of a checkbox (2df7f00)
  • tag-link: add all-purpose TagLinkOptions.validate function (6ae6936)

Bug Fixes

  • code-paste-handler: fix "global is not defined" error when compiling with Vite (b7aaf5c), closes #159
  • image-upload: dropped/pasted images now properly load into the image uploader (0bf0bdf), closes #167
  • image-upload: improve image-upload pane layout on small viewport widths (c47728a), closes #202
  • markdown-serializer: fix incorrect newline serialization of html_inline and html_block (664e034), closes #152
  • menu: fix crashes when a menu entry is null (87063b9)
  • rich-text-editor: allow any block node inside list items (#157) (f59b72f), closes #63
benkelly
published 0.6.1 •

Changelog

Source

0.6.1 (2022-07-05)

Bug Fixes

  • options: fix crash on startup when preview option is unset (c692e17), closes #149
benkelly
published 0.6.0 •

Changelog

Source

0.6.0 (2022-07-01)

Features

  • commonmark-editor: add basic static markdown preview support (#146) (bb9f862), closes #115
  • commonmark-editor: change copy behavior of commonmark content to be plain text instead of code (485855d)
  • commonmark-editor: detect and format pasted code like rich-text mode (#147) (9d9841a), closes #135
  • editor-plugin: add external plugin support (#141) (aca011f)
  • link-editor: change link editor from a popover to a plugin pane (#142) (3e4c847), closes #19

Bug Fixes

  • commonmark-editor: fix commonmark editor treating all pasted html content as code (6dc4556)
  • commonmark-editor: only select current paragraph on triple click (#128) (7f1fa6c), closes #27
  • commonmark-editor: prevent placeholder clipping (#144) (a3d0669)