I want to create full custom context menu when selecting a text on the documenteditor

i want to create something like this, https://nextjs-notion-like-ai-editor.liveblocks.app/
first user block the text on the editor and then i provide custom context menu that AI (this is done)
now i want to create another context menu that floats below the selected text


3 Replies 1 reply marked as answer

AD Aravind Dharani Syncfusion Team October 15, 2024 03:45 PM UTC

Hi,

We have support customizing the built-in context menu in Document Editor,  You can add new items or hide existing items from built in context menu. Please refer the below documentation. 

 

Documentation link: Customize context menu in React Document editor component | Syncfusion

 

Kindly check above UG and let us know if it helps you.


Regards,

Aravind D



AP Adithya Putra replied to Aravind Dharani October 16, 2024 02:20 AM UTC

Hello, thanks for your answer, but it is just to customize the menu items, i want to custom the context menu itself to another component



AD Aravind Dharani Syncfusion Team October 16, 2024 01:23 PM UTC

Hi,

Currently, we only support customizing the context menu in the Document Editor, such as adding or removing items.

Regarding customizing the context menu for another component:
Please share more details about your requirement, such as a screenshot or video demonstration, and how you would like the context menu to be displayed in the Document Editor. Based on this information, we will analyze your request and provide further details.


Regards,

Aravind D


Marked as answer
Loader.
Up arrow icon