-
Notifications
You must be signed in to change notification settings - Fork 4
/
core.js
45 lines (43 loc) · 1.03 KB
/
core.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// ==========================================================================
// Project: SproutCore WYSIWYG
// Copyright: ©2012 Matygo Educational Incorporated operating as Learndot
// Author: Joe Gaudet (joe@learndot.com) and contributors (see contributors.txt)
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*globals SC */
sc_require('wysiwyg_command');
SproutCoreWysiwyg = SC.Object.create(
/** @scope SproutcoreWysiwyg.prototype */
{
NAMESPACE: 'SproutcoreWysiwyg',
VERSION: '1.0.0',
styles: [ {
title: 'Paragraph',
value: 'p',
height: 20
}, {
title: '<h1>Heading 1</h1>',
value: 'h1',
height: 40
}, {
title: '<h2>Heading 2</h2>',
value: 'h2',
height: 35
}, {
title: '<h3>Heading 3</h3>',
value: 'h3',
height: 35
}, {
title: '<h4>Heading 4</h4>',
value: 'h4',
height: 30
}, {
title: '<h5>Heading 5</h5>',
value: 'h5',
height: 24
}, {
title: '<h6>Heading 6</h6>',
value: 'h6',
height: 20
} ]
});