|
@@ -8,7 +8,7 @@ export default class TableWithHandsontableButtonConfigurer {
|
|
|
md.renderer.rules.table_open = (tokens, idx) => {
|
|
md.renderer.rules.table_open = (tokens, idx) => {
|
|
|
const beginLine = tokens[idx].map[0] + 1;
|
|
const beginLine = tokens[idx].map[0] + 1;
|
|
|
const endLine = tokens[idx].map[1];
|
|
const endLine = tokens[idx].map[1];
|
|
|
- return `<div class="editable-with-handsontable"><button onClick="crowi.launchHandsontableModal('page', ${beginLine}, ${endLine})"><i class="icon-note"></i></button><table class="table table-bordered">`;
|
|
|
|
|
|
|
+ return `<div class="editable-with-handsontable"><button class="handsontable-modal-trigger" onClick="crowi.launchHandsontableModal('page', ${beginLine}, ${endLine})"><i class="icon-note"></i></button><table class="table table-bordered">`;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
md.renderer.rules.table_close = (tokens, idx) => {
|
|
md.renderer.rules.table_close = (tokens, idx) => {
|