New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline text formatting #1323
Inline text formatting #1323
Commits on Apr 23, 2020
-
WIP: First partially working version of inline text formatting
Morten Barklund committedApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for 536ac78 - Browse repository at this point
Copy the full SHA 536ac78View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for 2e023e8 - Browse repository at this point
Copy the full SHA 2e023e8View commit details -
Added fix for importing elements with multiple styles
Morten Barklund committedApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for 854510f - Browse repository at this point
Copy the full SHA 854510fView commit details -
Added the option to toggle b/i/u for entire text field
Morten Barklund committedApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for 6fdac4c - Browse repository at this point
Copy the full SHA 6fdac4cView commit details -
Cleaned up the structure a bit
Morten Barklund committedApr 23, 2020 Configuration menu - View commit details
-
Copy full SHA for e0506bf - Browse repository at this point
Copy the full SHA e0506bfView commit details
Commits on Apr 24, 2020
-
Added support for font weight and multi-select
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 323ec6c - Browse repository at this point
Copy the full SHA 323ec6cView commit details -
Update tests now that some values are not in use
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 6377f5a - Browse repository at this point
Copy the full SHA 6377f5aView commit details -
Adding
npx
to postinstall to see if CI approvesMorten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 48c765d - Browse repository at this point
Copy the full SHA 48c765dView commit details -
Removed
postinstall-postinstall
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for b0ba301 - Browse repository at this point
Copy the full SHA b0ba301View commit details -
If selection is collapsed when applying style change, apply to inline…
… override
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 1656c0a - Browse repository at this point
Copy the full SHA 1656c0aView commit details -
Reorganised selection manip and added letter spacing
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for ad34f87 - Browse repository at this point
Copy the full SHA ad34f87View commit details -
Disable force focus when setting letter spacing
Actually the whole `forceFocus` variable was superfluous - `EditorState.forceSelection` autimatically forces focus to the editor. And selection was remembered, just not visible while unfocused, so things still work as expected.
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 4a28da7 - Browse repository at this point
Copy the full SHA 4a28da7View commit details -
Added inline text color formatting
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 6346fa2 - Browse repository at this point
Copy the full SHA 6346fa2View commit details -
Fix multiple reducer for patterns, and fix tests
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for ebf8f26 - Browse repository at this point
Copy the full SHA ebf8f26View commit details -
Fixed font and font weight dropdowns
Font weight dropdown simply gets a new placeholder, as the placeholder will only be shown, when there's multiple font weights selected. For now, font weight logic is removed from font selector (but must be readded in a new version later), and tests are updated.
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 04af4f5 - Browse repository at this point
Copy the full SHA 04af4f5View commit details -
Remove deprecated types from text element
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for e17c4f6 - Browse repository at this point
Copy the full SHA e17c4f6View commit details -
Some extra cleanup of deprecated properties
Morten Barklund committedApr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for 47df628 - Browse repository at this point
Copy the full SHA 47df628View commit details
Commits on Apr 27, 2020
-
Added new migration with test (also added
jest-extended
)Morten Barklund committedApr 27, 2020 2Configuration menu - View commit details
-
Copy full SHA for 5dcaf4e - Browse repository at this point
Copy the full SHA 5dcaf4eView commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 0f49ebd - Browse repository at this point
Copy the full SHA 0f49ebdView commit details
Commits on Apr 28, 2020
-
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 28, 2020 Configuration menu - View commit details
-
Copy full SHA for e8b1f4e - Browse repository at this point
Copy the full SHA e8b1f4eView commit details
Commits on Apr 29, 2020
-
Refactored formatters to verticals rather than horizontals - much cle…
…aner result
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 9739dfb - Browse repository at this point
Copy the full SHA 9739dfbView commit details -
Fixed reducer and added comments
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 41e6954 - Browse repository at this point
Copy the full SHA 41e6954View commit details -
Added jsdocs to html manipulation
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 97a91cf - Browse repository at this point
Copy the full SHA 97a91cfView commit details -
Removed classes from migration and added test for nested tags
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for c4f4c18 - Browse repository at this point
Copy the full SHA c4f4c18View commit details -
Fix tests for text style now that export does not have classes anymore
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 057f33c - Browse repository at this point
Copy the full SHA 057f33cView commit details -
Moved focus management to edit component
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 8097c3f - Browse repository at this point
Copy the full SHA 8097c3fView commit details -
Create general
getValidHTML
utilMorten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 8685d11 - Browse repository at this point
Copy the full SHA 8685d11View commit details -
Added deps to
useImperativeHandle
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 3a80904 - Browse repository at this point
Copy the full SHA 3a80904View commit details -
Morten Barklund committed
Apr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for e2d2f23 - Browse repository at this point
Copy the full SHA e2d2f23View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 4f58366 - Browse repository at this point
Copy the full SHA 4f58366View commit details -
Added faux-selection style and fixed various bugs
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for a0b3259 - Browse repository at this point
Copy the full SHA a0b3259View commit details -
Morten Barklund committed
Apr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 59134bc - Browse repository at this point
Copy the full SHA 59134bcView commit details -
For now, strip formatting when pasting
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for ab85df5 - Browse repository at this point
Copy the full SHA ab85df5View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 37c9433 - Browse repository at this point
Copy the full SHA 37c9433View commit details -
Morten Barklund committed
Apr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 2f09bc6 - Browse repository at this point
Copy the full SHA 2f09bc6View commit details -
Morten Barklund committed
Apr 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 7e2ed36 - Browse repository at this point
Copy the full SHA 7e2ed36View commit details
Commits on Apr 30, 2020
-
Morten Barklund committed
Apr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 102c5af - Browse repository at this point
Copy the full SHA 102c5afView commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 4f88010 - Browse repository at this point
Copy the full SHA 4f88010View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedApr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for aa2fff6 - Browse repository at this point
Copy the full SHA aa2fff6View commit details -
Set default font color to black - all other colors are fixed inline
Morten Barklund committedApr 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 44d7a77 - Browse repository at this point
Copy the full SHA 44d7a77View commit details
Commits on May 1, 2020
-
Added unit tests for style manipulation
These are slightly integrated with draft-js' editor state, as it was too complex too mock and this is actually a better test IMHO.
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for b5a0c76 - Browse repository at this point
Copy the full SHA b5a0c76View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 080251b - Browse repository at this point
Copy the full SHA 080251bView commit details -
Fixed color input (allow multiple value string)
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 85edb58 - Browse repository at this point
Copy the full SHA 85edb58View commit details -
Fixed color picker to default to solid black (rather than transparent…
… black)
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for e8f6266 - Browse repository at this point
Copy the full SHA e8f6266View commit details -
Morten Barklund committed
May 1, 2020 Configuration menu - View commit details
-
Copy full SHA for f1dcb73 - Browse repository at this point
Copy the full SHA f1dcb73View commit details -
Fix color preset to work for new ITF formatting
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 03aa64b - Browse repository at this point
Copy the full SHA 03aa64bView commit details -
Added full support for text color and text style presets
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for 1b4f9de - Browse repository at this point
Copy the full SHA 1b4f9deView commit details -
Inlined font weights for text panel presets
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for f0dd127 - Browse repository at this point
Copy the full SHA f0dd127View commit details -
Fix focus out to check click target in capture phase
Morten Barklund committedMay 1, 2020 Configuration menu - View commit details
-
Copy full SHA for d411b08 - Browse repository at this point
Copy the full SHA d411b08View commit details
Commits on May 4, 2020
-
Merge branch 'master' into feature/inline-rich-text
# Conflicts: # assets/src/edit-story/migration/migrate.js # package.json
Morten Barklund committedMay 4, 2020 Configuration menu - View commit details
-
Copy full SHA for f1c8468 - Browse repository at this point
Copy the full SHA f1c8468View commit details -
Morten Barklund committed
May 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 16dbf27 - Browse repository at this point
Copy the full SHA 16dbf27View commit details -
Morten Barklund committed
May 4, 2020 Configuration menu - View commit details
-
Copy full SHA for e295b37 - Browse repository at this point
Copy the full SHA e295b37View commit details -
Morten Barklund committed
May 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 870f2bd - Browse repository at this point
Copy the full SHA 870f2bdView commit details -
Add better error handlign to faux selection removal
Morten Barklund committedMay 4, 2020 Configuration menu - View commit details
-
Copy full SHA for e03baf3 - Browse repository at this point
Copy the full SHA e03baf3View commit details -
Added jsdocs for complex style manipulation functions
Morten Barklund committedMay 4, 2020 Configuration menu - View commit details
-
Copy full SHA for 0081a79 - Browse repository at this point
Copy the full SHA 0081a79View commit details -
Added function to strip relevant inline styling
Morten Barklund committedMay 4, 2020 Configuration menu - View commit details
-
Copy full SHA for c5adfec - Browse repository at this point
Copy the full SHA c5adfecView commit details
Commits on May 5, 2020
-
Merge branch 'master' into feature/inline-rich-text
# Conflicts: # package.json
Morten Barklund committedMay 5, 2020 Configuration menu - View commit details
-
Copy full SHA for cd77cb9 - Browse repository at this point
Copy the full SHA cd77cb9View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedMay 5, 2020 Configuration menu - View commit details
-
Copy full SHA for 7a28375 - Browse repository at this point
Copy the full SHA 7a28375View commit details -
Added new function to compare patterns and used where applicable
Morten Barklund committedMay 5, 2020 Configuration menu - View commit details
-
Copy full SHA for ba711d7 - Browse repository at this point
Copy the full SHA ba711d7View commit details
Commits on May 6, 2020
-
Added ignore black to set color style as it is default
Morten Barklund committedMay 6, 2020 Configuration menu - View commit details
-
Copy full SHA for b63842a - Browse repository at this point
Copy the full SHA b63842aView commit details -
Changed highlight to use existing style manipulation
Reverted changes to `getValidHTML` and reused the existing HTML manipulation functions.
Morten Barklund committedMay 6, 2020 2Configuration menu - View commit details
-
Copy full SHA for b6468b0 - Browse repository at this point
Copy the full SHA b6468b0View commit details -
Merge branch 'master' into feature/inline-rich-text
Morten Barklund committedMay 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 595d4dd - Browse repository at this point
Copy the full SHA 595d4ddView commit details -
Morten Barklund committed
May 6, 2020 Configuration menu - View commit details
-
Copy full SHA for 13b6fda - Browse repository at this point
Copy the full SHA 13b6fdaView commit details