ryohek 5 лет назад
Родитель
Сommit
635c94798b
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      src/client/js/components/PageEditor/GridEditModal.jsx

+ 8 - 0
src/client/js/components/PageEditor/GridEditModal.jsx

@@ -38,6 +38,14 @@ export default class GridEditModal extends React.PureComponent {
     return cols;
   }
 
+  // Get the already pasted code from the editor and expand it on the modal
+  getPastedGrid(edited) {
+    // When the cursor on editor is in row
+    if (edited) {
+      // Embed the html data in cols.
+    }
+  }
+
   render() {
     return (
       <Modal isOpen={this.state.show} toggle={this.cancel} size="xl">