Releases: peterpeterparker/stylo
Releases · peterpeterparker/stylo
iOS...again
Features
- focusout for iOS devices
Placeholder
Features
- debounce display of placeholder "Press "/" for plugins"
Style
- position of all paragraphs set to
relative
and placeholder set toabsolute
- color picker height and alignment for Brave and Safari
iOS 😩
Style
- button color on iOS
Fix and styles for the blog editor I'm developing
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
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
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
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
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
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 parentcontenteditable=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
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")