What is the expected behavior of the proposed feature?
--- I am working on classic ckEditor and I want to add the context menu on selected text to refactor that text from BE . but I fail to add the context menu because there is no prop that I can trigger on selected text . If there is any prop on this editor than let me know . Also I am using below packages :
import { CKEditor } from '@ckeditor/ckeditor5-react';
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';
here I only want to use classic editor and want to open context menu when we select the text .
I have tried to do it like below code but it is not working at all :
📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?
--- I am working on classic ckEditor and I want to add the context menu on selected text to refactor that text from BE . but I fail to add the context menu because there is no prop that I can trigger on selected text . If there is any prop on this editor than let me know . Also I am using below packages :
import { CKEditor } from '@ckeditor/ckeditor5-react'; import ClassicEditor from '@ckeditor/ckeditor5-build-classic'; import 'ckeditor5/ckeditor5.css'; import 'ckeditor5-premium-features/ckeditor5-premium-features.css';
here I only want to use classic editor and want to open context menu when we select the text .
I have tried to do it like below code but it is not working at all :
const editorRef = useRef<ClassicEditor | null>(null); const [menuVisible, setMenuVisible] = useState(false);
please help me if I add this feature in my project . Thank you ! If you'd like to see this feature implemented, add a 👍 reaction to this post.