Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 987a3f4

Browse files
committed
position buttons according to current active paragraph, not current active element
1 parent 16b145d commit 987a3f4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/js/medium-editor-insert-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handl
462462
$p.addClass('medium-insert-active');
463463

464464
if (isAddon === false) {
465-
this.positionButtons($current);
465+
this.positionButtons($p);
466466

467467
$buttons.show();
468468
}

0 commit comments

Comments
 (0)