Skip to content

Releases: peterpeterparker/stylo

iOS...again

12 Apr 19:02
Compare
Choose a tag to compare

Features

  • focusout for iOS devices

Placeholder

10 Apr 18:27
Compare
Choose a tag to compare

Features

  • debounce display of placeholder "Press "/" for plugins"

Style

  • position of all paragraphs set to relative and placeholder set to absolute
  • color picker height and alignment for Brave and Safari

iOS 😩

03 Apr 13:59
Compare
Choose a tag to compare

Style

  • button color on iOS

Fix and styles for the blog editor I'm developing

03 Apr 13:25
d99c653
Compare
Choose a tag to compare

Fix

  • transform very first paragraph
  • delete content backward
  • placeholder position if browser adds a <br/> at begin of new paragraph

Style

  • use no height if invisible
  • placeholder and add colors

Tabs and undo-redo

06 Mar 14:04
Compare
Choose a tag to compare

0.0.9 (2022-03-06)

Fix

  • focus list of plugins on display
  • miscellaneous selection and order fixes for undo-redo
  • preserve cursor position on undo-redo tab

0.0.8-2 (2022-02-19)

Style

  • inline plugin style to bypass .hydrated class

0.0.8-1 (2022-02-19)

Features

  • expose i18n types

Integration within other Web Components

19 Feb 10:01
Compare
Choose a tag to compare

Features

  • integration of Stylo inside of other webcomponents

Fix

  • "enter" new paragraph if focus at begin of an existing paragraph
  • range 0 is not a valid index (on window resize)

Build

  • bump Stencil

Integrate last fix and features in ddg

13 Feb 15:50
Compare
Choose a tag to compare

Features

  • reset undo stack on destroy

Fix

  • display placeholders "Press / for plugins"
  • create preventive HTML element for text inputs only if targeted container does not accept text
  • on deleteContentBackward reset range to cover the all target paragraphs (do not keep empty elements in dom)

Undo-redo stack inputs

12 Feb 08:51
Compare
Choose a tag to compare

Features

  • "undo-redo" array of inputs because characterdata changes can actually be triggered in multiple paragraphs at once

Fix

  • "DOMException: Failed to execute 'setStart' on 'Range': The offset 7 is larger than the node's length (1)."

Fix last weekend and launch issues

12 Feb 08:14
Compare
Choose a tag to compare

Features

  • preserve styles when removing links (except Firefox)
  • prevent creation of text nodes - i.e. leaves - when user is typing (direct children of the content editable should all be HTML elements)
  • <img/> and <hr/> do not need to be wrapped in a parent contenteditable=false anymore
  • redo user selection after "undo-redo"

Fix

  • add link on Firefox
  • Android v12 keyboard appearing and disappearing at the same time
  • clone image on drag
  • remove target paragraph on deleteContentBackward ("avoid text to get title style when deleting and replacing it")
  • redo deleted paragraphs content

Hijack Enter

08 Feb 21:19
Compare
Choose a tag to compare

Features

  • revert hijack "enter" - browser does not the job as expected
  • improve new lines within paragraphs ("shift + enter")

Fix

  • extract content in case of new paragraphs initiated within a paragraphs ("not from end of line")