FIX: Edit Table button appearing in all <table> elements (#12)

This commit is contained in:
Keegan George 2022-08-11 11:12:01 -07:00 committed by GitHub
parent 4289145268
commit dacdd1cc4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ export default apiInitializer("0.11.1", (api) => {
} }
schedule("afterRender", () => { schedule("afterRender", () => {
const tables = post.querySelectorAll("table"); const tables = post.querySelectorAll(".md-table table");
generatePopups(tables, helper.widget.attrs); generatePopups(tables, helper.widget.attrs);
}); });
}, },