Lexical iOS is an extensible text editor framework that integrates the APIs and philosophies from Lexical Web with a Swift API built on top of TextKit.
MIT License
getType()
method: #47performRangeSearch()
and performRangeSearchWithPayload()
functions, to help converting Lexical EditorStates into a format used by backends/APIs which work with string ranges.SelectableDecoratorNode
allows implementing a decorator that handles click-to-select. Improvements to NodeSelection
allow pressing backspace to delete selected decorators, etc. SelectableImageNode
provides an example use of this. (Still to do, allow theming the selection ring, and allow customising more behaviour!)Published by amyworrall over 1 year ago
LexicalView
, a rich text editor for use within UIKitUIView
s that move with the textLexicalReadOnlyView
(currently undocumented)1.0
, any breaking changes of the API will be accompanied by an increase in the second version digit. For example, a 0.1.1
release will not contain breaking API changes (although it may contain API additions); whereas a 0.2
release may contain breaking changes. We will attempt to mention any such changes in the release notes.