From 507c07f676820d1535062e328025bc8d962a1829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Marti=CC=81n=20Pithod?= Date: Thu, 11 Jan 2018 12:48:59 -0300 Subject: [PATCH] Reverse files. --- index.html | 232 +++++++++++++-------------- src/block_manager/view/BlocksView.js | 2 +- 2 files changed, 109 insertions(+), 125 deletions(-) diff --git a/index.html b/index.html index 485fe6c4c..805835a1f 100755 --- a/index.html +++ b/index.html @@ -1,138 +1,122 @@ - - - - GrapesJS - - - - - - -
-
-

Welcome to

-
- - GrapesJS -
-
- This is a demo content from index.html. For the development, you shouldn't edit this file, instead you can copy and rename - it to _index.html, on next server start the new file will be served, and it will be ignored by git. -
-
+ + + GrapesJS + + + - .logo path { - pointer-events: none; - fill: none; - stroke-linecap: round; - stroke-width: 7; - stroke: #fff - } + +
+
+

Welcome to

+
+ + GrapesJS +
+
+ This is a demo content from index.html. For the development, you shouldn't edit this file, instead you can + copy and rename it to _index.html, on next server start the new file will be served, and it will be ignored by git. +
+
+ -
+ .logo { + width: 70px; + height: 70px; + vertical-align: middle; + } - - + + + diff --git a/src/block_manager/view/BlocksView.js b/src/block_manager/view/BlocksView.js index b1b70a72c..da1327706 100644 --- a/src/block_manager/view/BlocksView.js +++ b/src/block_manager/view/BlocksView.js @@ -122,7 +122,7 @@ module.exports = Backbone.View.extend({ } else if (typeof category == 'object') { category.id = category.label; } - + var catModel = this.categories.add(category); var catId = catModel.get('id'); var catView = this.renderedCategories[catId];