- Issue created by @franknoel
- πΊπΈUnited States pingevt
Not sure how supported this is but if you're looking into this, in `idattributesui.js` in the plugin, in the `_showForm()` method, just needs a better selector for the target. Right now it is only using a queryselector on a class, so it will always be the first one on the page.
I'm not a CKEditor plugin writer or anything but, I changed it to this, based on another plugin I was looking at. Places the label in the element you are adding the id to.
const view = this.editor.editing.view; const viewDocument = view.document; let target = null; // Set a target position by converting view selection range to DOM. target = () => view.domConverter.viewRangeToDom( viewDocument.selection.getFirstRange() );
- First commit to issue fork.
Patch to make balloon pop up position more specific to the button clicked
- Merge request !1Made _showForm balloon position more specific to the button clicked β (Open) created by Ali_W
Updated patch after latest code updates
included changes to src files too- Status changed to RTBC
7 months ago 11:42am 30 April 2024 - π§πͺBelgium dieterholvoet Brussels
The latest patch/MR fixes the issue for me.