Skip to content

1.0.1

Choose a tag to compare

@bwya77 bwya77 released this 28 Aug 12:30
· 2 commits to main since this release

Bug Fixes

  • Fixed Style Settings theme override issue - Plugin now properly
    overrides themes that use Style Settings plugin to configure editor width

Technical Changes

  • Enhanced CSS specificity - Changed CSS selectors from .editor-width-${i}
    to body.editor-width-${i} for higher specificity
  • Added comprehensive CSS variable coverage - Now sets multiple CSS
    variables to ensure compatibility with various themes:
    • --normal-line-width (used by Style Settings themes)
    • --line-width, --line-width-adaptive, --line-width-wide
    • --readable-line-length, --max-width
  • Direct element targeting - Added explicit selectors with !important
    flags to force override conflicting styles on:
    • .markdown-source-view.mod-cm6 .cm-contentContainer
    • .markdown-preview-view
    • .cm-content
    • Various other editor container elements
  • Improved theme compatibility - Plugin now works correctly with themes
    that expose line width settings through Style Settings plugin