Skip to content
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

Lexical based editor #5058

Merged
merged 107 commits into from
Sep 27, 2024
Merged

Lexical based editor #5058

merged 107 commits into from
Sep 27, 2024

Commits on May 27, 2024

  1. Editors: Added lexical editor for testing

    Started basic playground for testing lexical as a new WYSIWYG editor.
    Moved out tinymce to be under wysiwyg-tinymce instead so lexical is the
    default, but TinyMce code remains.
    ssddanbrown committed May 27, 2024
    Configuration menu
    Copy the full SHA
    5a4f595 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e852d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49546cd View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    0f8bd86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b24d60e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    483d9bf View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Lexical: Added ui container type

    Structured UI logical to be fairly standard and mostly covered via
    a base class that handles context and core dom work.
    ssddanbrown committed May 29, 2024
    Configuration menu
    Copy the full SHA
    dc1a40e View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    57259ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae98745 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    7c504a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    a74e041 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    ba871ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e959c46 View commit details
    Browse the repository at this point in the history
  3. Lexical: Added selection to state for aligned reading

    Connected up to work with image form
    ssddanbrown committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    0722960 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    5c34363 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    e889bc6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a475cf6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e43e03 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    e2409a5 View commit details
    Browse the repository at this point in the history
  2. Lexical: Added button icon system

    With a bunch of default icons
    ssddanbrown committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    13d970c View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    f47f7dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac01c62 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    a07092b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5546b8f View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    3af22ce View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    5993663 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    b1130cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72a0e08 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    4e2820d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f10ec32 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Configuration menu
    Copy the full SHA
    517c578 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9a03c5 View commit details
    Browse the repository at this point in the history
  3. Lexical: Added context toolbar placement, added link toolbar

    Also added some basic context toolbar styling
    ssddanbrown committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    b1c4890 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Lexical: Added tracked container, added fullscreen action

    Changed how the editor is loaded in, so it now creates its own DOM, and
    content is passed via creation function, to be better self-contained.
    ssddanbrown committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c2ecbf0 View commit details
    Browse the repository at this point in the history
  2. Lexical: Started loading real content, Improved html loading

    Added more styling/layout for buttons and main content area
    ssddanbrown committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    9ebbf7c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    97f570a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0a5a5e View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    feca1f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8f1160 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    04c7e68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c96af9 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    51d8044 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Lexical: Added code block selection & edit features

    Also added extra lifecycle handling for decorators to things can be
    properly cleaned up after node destruction.
    ssddanbrown committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ea4c50c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    b367490 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5002a89 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Lexical: Started converting drawio to TS

    Converted events service to TS as part of this.
    ssddanbrown committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    634b0aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb87fb5 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Lexical: Finished up core drawing insert/editing

    Added new options that sits on the context, for things needed but not
    for the core editor, which are defined out of the editor (drawio URL,
    error message text, pageId etc...)
    ssddanbrown committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    c7c0df0 View commit details
    Browse the repository at this point in the history
  2. Lexical: Added toolbar scroll/resize handling

    Also added smarter above/below positioning to respond if toolbar would
    be off the bottom of the editor, and added hide/show when they'd go
    outside editor scroll bounds.
    ssddanbrown committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    63f4b42 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. Configuration menu
    Copy the full SHA
    b618287 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Lexical: Improved table resize bars

    Added scoll & page resize handling.
    Added cropping/limiting to edit area.
    ssddanbrown committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2cab778 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76b0d2d View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    f284d31 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. Configuration menu
    Copy the full SHA
    c8f6b7e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Configuration menu
    Copy the full SHA
    ce8c9dd View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    9a7edc6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d86837a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe05cff View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    13f8f39 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Lexical: Started table menu options

    Updated UI elements to handle new scenarios needed in more complex table
    menu
    ssddanbrown committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6b06d49 View commit details
    Browse the repository at this point in the history
  2. Lexical: Started on table actions

    Started building table cell form/actions
    ssddanbrown committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a27a325 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    e94ad78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efec752 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    8939f31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3d3b14 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    fcc1c29 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    e8532ef View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    da54e1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db4208a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abbfd42 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    ebf95f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    ec965f2 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    accf256 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    1ef4044 View commit details
    Browse the repository at this point in the history
  2. Lexical: Added basic URL field header option list

    May show bad option label names on chrome/safari.
    This was an easy first pass without loads of extra custom UI since we're
    using native datalists.
    ssddanbrown committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    ad6b26b View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Configuration menu
    Copy the full SHA
    0039f89 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Lexical: Added custom alignment handling for blocks

    To align with pre-existing use of alignment classes.
    ssddanbrown committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    111a313 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    aa1fac6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbb2fe3 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    ddf5f25 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Lexical: Improved table row copy/paste

    Added safeguarding/matching of source/target sizes to prevent broken
    tables.
    ssddanbrown committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8a13a9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ebb0f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    1c9afcb View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Lexical: Revamped image node resize method

    Changed from using a decorator to using a helper that watches for image
    selections to then display a resize helper.
    Also changes resizer to use a ghost and apply changes on end instead of
    continuosly during resize.
    ssddanbrown committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    e5b6d28 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    bed2c29 View commit details
    Browse the repository at this point in the history
  2. Lexical: Range of bug fixes, Updated lexical version

    - Updated selection change detection to be more accurate
    - Added UI refresh for extra actions
    - Fixed remove link deleting contents
    ssddanbrown committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    16518a4 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Lexical: Further fixes

    - Improved node resizer positioning to be more accurate
    - Fixed drop handling not running within editor margin space
    - Made media dom update smarter to reduce reloads
    - Fixed media alignment, broken due to added wrapper
    ssddanbrown committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    fd07aa0 View commit details
    Browse the repository at this point in the history
  2. Lexical: Refined editor UI

    - Cleaned up dropdown lists to look integrated
    - Added icons for color picker clear and menu list items
    ssddanbrown committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    fb49371 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ced66f1 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Lexical: Added single node enter handling

    Also updated media to be an inline element to align with old editor
    behaviour.
    ssddanbrown committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2036438 View commit details
    Browse the repository at this point in the history
  2. Lexical: Added block indenting capability

    Needed a custom implementation due to hardcoded defaults for Lexical
    default indenting.
    ssddanbrown committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    5083188 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Lexical: Custom list nesting support

    Added list nesting support to allow li > ul style nesting which lexical
    didn't do by default.
    Adds tab handling for inset/outset controls.
    Will be a range of edge-case bugs to squash during testing.
    ssddanbrown committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    662110c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6872eb8 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    5f46d71 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Lexical: Added RTL/LTR actions

    Kinda useless though due to Lexical reconciler :(
    ssddanbrown committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    03490d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Lexical: Imported core lexical libs

    Imported at 0.17.1, Modified to work in-app.
    Added & configured test dependancies.
    Tests need to be altered to avoid using non-included deps including
    react dependancies.
    ssddanbrown committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    22d078b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccd486f View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    787e06e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dba8ab9 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Lexical: Removed reconciler level direction handling

    - Updated tests to consider changes
    ssddanbrown committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    654a7a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6edd93 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. Lexical: Added direction support to extra blocks

    Also removed duplicated dir functionality that remained in core.
    ssddanbrown committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    2add15b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef3de10 View commit details
    Browse the repository at this point in the history
  3. Lexical: Range of fixes

    - Prevented ui shortcuts running in editor
    - Added form modal closing on submit
    - Fixed ability to escape lists via enter on empty last item
    ssddanbrown committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    c8ccb2b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b32e6c View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Lexical: Updated toolbar & text node exporting

    - Updated toolbar to match existing editor, including dynamic RTL/LTR
      controls.
    - Updated text node handling to not include spans and extra classes when
      not needed. Added & update tests to cover.
    ssddanbrown committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    a62d838 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    1b9310e View commit details
    Browse the repository at this point in the history