Skip to content

Replace Quill editor with Draftjs editor in Dashboard's Text widget  #9627

Closed

Description

@dsuren1

Description

As part of enhancement to MS in replacing quill editor across the application. We would like to replace Quill editor used in Dashboard Text widget with Draftjs in this issue

Acceptance criteria

  • Replace quill editor with Draftjs editor in Dashboard Text widget (Note: Refer also Mapview implementation of text editor with Draftjs)
  • With embedded toolbar options enabled additionally
  • Allow fontFamilies to be configurable just like in Geostory plugin

Screenshot (Expected)

Screenshot 2023-10-19 at 2 57 06 PM

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Activity

  1. added
    Dashboard
    on Oct 19, 2023
  2. mumairr commented on Oct 24, 2023

    @mumairr
    Contributor

    @dsuren1 a quick question regarding the update, I can see draft-js has been archived this February and won't receive any future updates.
    On the other hand, react-quill is updated around the same time but still active and most probably recieve updates as well.
    Any specific reason to upgrade to draftjs from quill? for the pdf thing, I tested it out on already integrated quill and works fine.

    Please guide if i am missing something important. Thanks

  3. dsuren1 commented on Oct 25, 2023

    @dsuren1
    ContributorAuthor

    @mumairr
    The decision mainly comes from maintaining a single editor across the application, as most of the parts have been replaced already.

  4. mumairr commented on Oct 25, 2023

    @mumairr
    Contributor

    @dsuren1 makes sense. Thanks for the explanation

  5. added this to the 2024.01.00 milestone on Oct 30, 2023
  6. added a commit that references this issue on Nov 2, 2023
  7. added a commit that references this issue on Nov 6, 2023
    6341fbd
  8. self-assigned this
    on Nov 7, 2023
  9. added a commit that references this issue on Nov 21, 2023
    08ca6a9
  10. added
    BackportNeeded
    and removed on Nov 21, 2023
  11. added a commit that references this issue on Nov 22, 2023
  12. removed
    BackportNeeded
    on Nov 22, 2023
  13. added a commit that references this issue on Nov 22, 2023
    f6a0ab6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions