We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da3dfb commit 0d82173Copy full SHA for 0d82173
main.ts
@@ -191,7 +191,7 @@ export default class SimpleEmbedsPlugin extends Plugin {
191
if (keepLinksInPreview && placement === "above") {
192
parent.insertBefore(container, a);
193
} else if (keepLinksInPreview && placement === "below") {
194
- container.insertAfter(a);
+ a.after(container);
195
} else {
196
parent.replaceChild(container, a);
197
}
0 commit comments