ckeditor5
ckeditor5 copied to clipboard
Docs issue report from "api/module_ui_dropdown_dropdownpanelview-PanelPosition.html"
Origin URL
https://ckeditor.com/docs/ckeditor5/latest/api/module_ui_dropdown_dropdownpanelview-PanelPosition.html
Project version
41.1.0
Is the information outdated? How?
My code: `<div className={classNames("ck-editor")}> <CKEditor id={id} editor={Editor} data={content} config={{ ...CKEDITOR_CONFIG, placeholder }} onChange={(_, editor) => { onChange(editor.getData()); }} onReady={(editor) => { if (editor) { setEditorInstance(editor); editor.ui.view.toolbar._behavior.groupedItemsDropdown.panelPosition = "sme";
if (fieldError) {
editor.ui.view.element.classList.add("input-error");
} else {
editor.ui.view.element.classList.add("input");
}
}
}}
disabled={disabled}
/>
</div>`
Is there something missing in the guide? What is it?
No response
Is there anything else you would like to add?
Inorder to reposition my dropdown panel to south-west I'm using below code in onReady, but still dropdown menu is still at default side. Caould you please check any issue in my code
editor.ui.view.toolbar._behavior.groupedItemsDropdown.panelPosition = "sme";
User agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Hi! Could you explain a bit more the use case in which you're trying to change this direction?
The issue lacks the feedback we asked for two weeks. Hence, we've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).