Skip to content

v1.2.6

Latest
Compare
Choose a tag to compare
@TheodoreChu TheodoreChu released this 09 Feb 08:47
· 9 commits to develop since this release
c703291

Summary

Version v1.2.6 features updated dependencies and various improvements to the styling and functionality.

The most notable changes include:

  • Table of contents generated by ### toc, #### table of contents, or similar headings in Plain Textarea, CodeMirror, and Monaco editing modes are more compact
  • When using Dynamic editing mode, the Pencil and Eye buttons switch directly between Edit Only and View Only. There won't be a Split unless Split was already active before selecting Dynamic in the Settings
  • The dropdown menu in Dynamic should now drop down instead of up
  • Clicking Print automatically opens View mode so you don't have to do it yourself. Plus, the margin and padding of the View container is removed when printing so you can make full use of the margin customization built into Microsoft Edge and similar browsers
  • The editor will now slow the rendering of your Markdown when your notes are greater than 2500 characters instead of 10000 to help improve the performance of shorter KaTeX or Markdown intensive notes

I also optimized the code and reduced the download size from 12.2MB to 10.5MB

Fixes and Features

  • fix: removed excess padding-left/right for .cm-comment 66329d0
  • feat: make generated ToC compact e31fe94
  • fix: removed unnecessary scrollbar when using Monaco Editor. removed .sk-panel-content, unecessary styles a6a2f69
  • fix: center X in undoDialogButton fd7b983
  • fix: remove extra space under editor when using fixed height and KaTeX 3c988cc
  • fix: remove excess margin, padding when printing c77a0b1
  • fix: reduced isLongString threshold to 2,500. improves performance of shorter KaTeX or Markdown intensive notes. also trigger renderLongMarkdown when rendering short notes to ease transition from short to long 6e73862
  • fix: remove excess margins for Dynamic Editor for headers and printing e8b2e33
  • feat: turn viewMode on before printing c4e6e9b
  • feat: when using DynamicEditor, automatically close edit/view mode when toggling the other d422fde
  • fix: issues with full-width caused by previous changes to .sk-panel.main. also further simplified styles for .sk-panel.main 49d8981
  • fix: make header font-weight in Dynamic consistent with other editingModes cc2e7e2
  • fix: the menu in Dynamic doesn't dropdown in editOnly mode 7c4475a

Behind the scenes

  • chore(deps): bump rme and monaco-editor 153860f
  • chore(deps): update monaco-editor to 0.22.3. switches /monaco package manager from npm to yarn. switches mode in monaco/webpack.config.js from development to production. removes unused/unnecessary/duplicated bundle files d3244f2
  • chore(deps): bump sn-stylekit 3026ae3
  • refactor: simplify steps to build monaco editor workers c1eda10
  • fix: do not load monaco editor files unless using monaco editor. this will hopefully improve load times de6969d
  • chore(deps): update sn-editor-kit to 1.0.9 9ea4897
  • fix: make alpha ext.json point to develop branch 54872ca
  • refactor: resolve lint warnings for React.Keys, clipRule, and fillRule 86e987e

See the full changelogs for the details of every change in this release.