From c80527627a644c91b7b0126f6949579d431257b7 Mon Sep 17 00:00:00 2001 From: Philip Schatz Date: Mon, 3 Mar 2014 09:55:07 -0500 Subject: [PATCH 1/3] change the blockish config --- scripts/configs/aloha.coffee | 12 ++++++------ templates/layouts/workspace/menu.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/configs/aloha.coffee b/scripts/configs/aloha.coffee index bcb14ba..32b8178 100644 --- a/scripts/configs/aloha.coffee +++ b/scripts/configs/aloha.coffee @@ -111,12 +111,12 @@ define ['jquery'], ($) -> console.log 'Updated Image src as a result of upload' note: [ - { label: 'Note', cls: 'note', hasTitle: true } - { label: 'Aside', cls: 'note', hasTitle: true, type: 'aside' } - { label: 'Warning', cls: 'note', hasTitle: true, type: 'warning' } - { label: 'Tip', cls: 'note', hasTitle: true, type: 'tip' } - { label: 'Important', cls: 'note', hasTitle: true, type: 'important' } - { label: 'Teacher\'s Guide', cls: 'note', hasTitle: true, type: 'teachers-guide' } + { label: 'Note', typeClass: 'note', hasTitle: true } + { label: 'Aside', typeClass: 'note', hasTitle: true, dataClass: 'aside' } + { label: 'Warning', typeClass: 'note', hasTitle: true, dataClass: 'warning' } + { label: 'Tip', typeClass: 'note', hasTitle: true, dataClass: 'tip' } + { label: 'Important', typeClass: 'note', hasTitle: true, dataClass: 'important' } + { label: "Teacher's Guide", typeClass: 'note', hasTitle: true, dataClass: 'teachers-guide' } ] block: dragdrop: "1" diff --git a/templates/layouts/workspace/menu.html b/templates/layouts/workspace/menu.html index 2ba10db..dbad814 100644 --- a/templates/layouts/workspace/menu.html +++ b/templates/layouts/workspace/menu.html @@ -13,7 +13,7 @@
-
+
From 5ed5cfb0b82291581e0649e63cc895024b3d73ae Mon Sep 17 00:00:00 2001 From: Philip Schatz Date: Mon, 3 Mar 2014 10:08:37 -0500 Subject: [PATCH 2/3] update bower to use the proper branch in aloha to better-document the dependency --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 6fb67b6..10f0efa 100644 --- a/bower.json +++ b/bower.json @@ -21,7 +21,7 @@ "moment": "timrwood/moment#2.0.0", "backbone": "1.0.0", "backbone.marionette": "v1.0.3", - "aloha-editor": "oerpub/Aloha-Editor#master", + "aloha-editor": "oerpub/Aloha-Editor#use-data-label-instead-of-type", "bootstrap": "v2.3.2", "filtered-collection": "dlikhten/filtered-collection", "jsdifflib": "philschatz/jsdifflib#master" From c041fd2c6fba9fc1d24c69f40b28f7835a65cf79 Mon Sep 17 00:00:00 2001 From: Philip Schatz Date: Mon, 3 Mar 2014 10:15:32 -0500 Subject: [PATCH 3/3] typo --- templates/layouts/workspace/menu.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/layouts/workspace/menu.html b/templates/layouts/workspace/menu.html index dbad814..c6dde8b 100644 --- a/templates/layouts/workspace/menu.html +++ b/templates/layouts/workspace/menu.html @@ -13,7 +13,7 @@
-
+