Subversion Repositories wimsdev

Rev

Rev 13722 | Rev 13726 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13722 Rev 13724
Line 9... Line 9...
9
    !reset iEdit_formats
9
    !reset iEdit_formats
10
  !else
10
  !else
11
    !set iEdit_plugins=code help hr lists
11
    !set iEdit_plugins=code help hr lists
12
    !set iEdit_toolbar=undo redo | styleselect aligncenter | bold italic strikethrough | subscript superscript | hr link | bullist numlist | removeformat | code | help
12
    !set iEdit_toolbar=undo redo | styleselect aligncenter | bold italic strikethrough | subscript superscript | hr link | bullist numlist | removeformat | code | help
13
    !set iEdit_formats=formats: {\
13
    !set iEdit_formats=formats: {\
14
        oef_indgood: { inline: 'span', classes: 'oef_indgood', exact: true },\
14
        /*oef_indgood: { inline: 'span', classes: 'oef_indgood', exact: true },\
15
        oef_indbad: { inline: 'span', classes: 'oef_indbad', exact: true },\
15
        oef_indbad: { inline: 'span', classes: 'oef_indbad', exact: true },\
16
        oef_indpartial: { inline: 'span', classes: 'oef_indpartial' },\
16
        oef_indpartial: { inline: 'span', classes: 'oef_indpartial' },\
17
        oef_indforget: { inline: 'span', classes: 'oef_indforget' },\
17
        oef_indforget: { inline: 'span', classes: 'oef_indforget' },*/\
18
        aligncenter: { selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes: 'wimscenter' },\
18
        aligncenter: { selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes: 'wimscenter' },\
19
        wims_credits: { block: 'div', classes: 'wims_credits'},\
-
 
20
        wims_instruction: { block: 'div', classes: 'wims_instruction'},\
19
        wims_instruction: { block: 'div', classes: 'wims_instruction'},\
21
        wims_msg_success: { block: 'div', classes: 'wims_msg success'},\
20
        /*wims_msg_success: { block: 'div', classes: 'wims_msg success'},\
22
        wims_msg_alert: { block: 'div', classes: 'wims_msg alert'},\
21
        wims_msg_alert: { block: 'div', classes: 'wims_msg alert'},\
23
        wims_msg_warning: { block: 'div', classes: 'wims_msg warning'},\
22
        wims_msg_warning: { block: 'div', classes: 'wims_msg warning'},\
24
        wims_msg_info: { block: 'div', classes: 'wims_msg info'},\
23
        wims_msg_info: { block: 'div', classes: 'wims_msg info'},\
25
        wims_msg_help: { block: 'div', classes: 'wims_msg help'},\
24
        wims_msg_help: { block: 'div', classes: 'wims_msg help'},*/\
-
 
25
        wims_difficultylevel: { inline: 'span', classes: 'wims_difficultylevel'},\
-
 
26
        wims_emph: { inline: 'span', classes: 'wims_emph'},\
-
 
27
        wims_smallhelp: { block: 'div', classes: 'wims_smallhelp'},\
-
 
28
        wims_color1: { block: 'div', classes: 'wims_color1'},\
-
 
29
        wims_color2: { block: 'div', classes: 'wims_color2'},\
-
 
30
        wims_color3: { block: 'div', classes: 'wims_color3'},\
26
      },style_formats: [\
31
      },style_formats: [\
27
      { title: 'Paragraph', format: 'p'},\
32
      { title: 'Paragraph', format: 'p'},\
28
      { title: 'Headings', items: [\
33
      { title: 'Headings', items: [\
29
        { title: 'Heading 1', format: 'h2' },\
34
        { title: 'Heading 1', format: 'h2' },\
30
        { title: 'Heading 2', format: 'h3' },\
35
        { title: 'Heading 2', format: 'h3' },\
31
        { title: 'Heading 3', format: 'h4' },\
36
        { title: 'Heading 3', format: 'h4' },\
32
        { title: 'Heading 4', format: 'h5' },\
37
        { title: 'Heading 4', format: 'h5' },\
33
        { title: 'Heading 5', format: 'h6' }\
38
        { title: 'Heading 5', format: 'h6' }\
34
      ]},\
39
      ]},\
35
      { title: 'OEF answers', items: [\
40
      /*{ title: 'OEF answers', items: [\
36
        { title: 'Good answer', format: 'oef_indgood' },\
41
        { title: 'Good answer', format: 'oef_indgood' },\
37
        { title: 'Bad answer', format: 'oef_indbad' },\
42
        { title: 'Bad answer', format: 'oef_indbad' },\
38
        { title: 'Partial answer', format: 'oef_indpartial' },\
43
        { title: 'Partial answer', format: 'oef_indpartial' },\
39
        { title: 'Forgotten answer', format: 'oef_indforget' },\
44
        { title: 'Forgotten answer', format: 'oef_indforget' },\
40
      ]},\
45
      ]},\
Line 42... Line 47...
42
        { title: 'Success', format: 'wims_msg_success' },\
47
        { title: 'Success', format: 'wims_msg_success' },\
43
        { title: 'Alert', format: 'wims_msg_alert' },\
48
        { title: 'Alert', format: 'wims_msg_alert' },\
44
        { title: 'Warning', format: 'wims_msg_warning' },\
49
        { title: 'Warning', format: 'wims_msg_warning' },\
45
        { title: 'Info', format: 'wims_msg_info' },\
50
        { title: 'Info', format: 'wims_msg_info' },\
46
        { title: 'Help', format: 'wims_msg_help' },\
51
        { title: 'Help', format: 'wims_msg_help' },\
-
 
52
      ]},*/\
-
 
53
      { title: 'Theme colors', items: [\
-
 
54
        { title: 'Color 1', format: 'wims_color1' },\
-
 
55
        { title: 'Color 2', format: 'wims_color2' },\
-
 
56
        { title: 'Color 3', format: 'wims_color3' },\
47
      ]},\
57
      ]},\
48
      { title: 'Other WIMS styles', items: [\
58
      { title: 'Other WIMS styles', items: [\
49
        { title: 'Credits', format: 'wims_credits' },\
-
 
50
        { title: 'Instructions', format: 'wims_instruction' },\
59
        { title: 'Instructions', format: 'wims_instruction' },\
51
        { title: 'Code', format: 'code' },\
60
        { title: 'Small help', format: 'wims_smallhelp' },\
52
        { title: 'Blockquote', format: 'blockquote' },\
61
        { title: 'Blockquote', format: 'blockquote' },\
-
 
62
        { title: 'Code', format: 'code' },\
-
 
63
        { title: 'Difficulty level', format: 'wims_difficultylevel' },\
-
 
64
        { title: 'Emphase', format: 'wims_emph' },\
53
      ]},\
65
      ]},\
54
    ],
66
    ],
55
  !endif
67
  !endif
56
 
68
 
57
 
69