New composer: show format bar on selection #3386
make DocumentOffset compatible with what is returned from dom/getCaret
648ae37f
allow getting the DocumentOffset for any node+offset, not just focusNode
eb873018
allow starting a range with both positions known already
0d02ab59
show format bar when text is selected
65ddfc0a
sort positions in Range constructor, so start always comes before end
48f1bf18
add getter for intersecting parts of range, and total length
77b14beb
implement bold support in format bar
7dc39baa
bwindels
force pushed
from
0ce75c2b
to
322775e3
6 years ago
make Range start and end public
c15dfc3c
fixup: css, we have 5 buttons
e7db6608
first impl of inline formatting
d4c7992f
first impl of quote formatting
7f501b2a
whitespace (in model)
47d8d86b
move inline formatting code out of react component
b72d1a78
move quote formatting out of react component
b35a3531
add support for inline/block code formatting
6e694c11
fixup: remove now unused import
4c04bc19
make _replaceRange internal only
7a01d140
only increase offset if caret hasn't been found yet
4691108a
improve algorithm to reduce selection to text node + charactar offset
e0668e85
fixup: improve quote and code block newline handling
42c37d82
be more forgiving with offset that don't have atNodeEnd=true
037ac29c
support update callback setting selection instead of caret
2ea556e0
fix css lint
af535986
bwindels
force pushed
from
322775e3
to
af535986
6 years ago
bwindels
removed review request
6 years ago
ensure selection is not lost upon clicking format bar in chrome
e3d70f39
better i18n
4ef9fa53
turt2live
approved these changes
on 2019-09-05
copyright is solely assigned to matrix foundation now, copy paste error
d2949bab
add comment about positioning the format bar
92c0c1a4
bwindels
merged
02681d50
into develop 6 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub