1119 styles: [["Paragraph", "<p>"], ["Header 2", "<h2>"], |
1119 styles: [["Paragraph", "<p>"], ["Header 2", "<h2>"], |
1120 ["Header 3", "<h3>"], ["Header 4","<h4>"], ["Header 5","<h5>"], |
1120 ["Header 3", "<h3>"], ["Header 4","<h4>"], ["Header 5","<h5>"], |
1121 ["Header 6","<h6>"]], |
1121 ["Header 6","<h6>"]], |
1122 docType: '<!DOCTYPE HTML>', |
1122 docType: '<!DOCTYPE HTML>', |
1123 bodyStyle: "margin:0; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;", |
1123 bodyStyle: "margin:0; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;", |
1124 updateTextArea : function(text){ |
1124 updateTextArea : updateWysiwigText, |
1125 disabledPreview(); |
1125 updateFrame: updateWysiwigText |
1126 currentAnnotation.content.text = text; |
|
1127 return text; |
|
1128 }, |
|
1129 updateFrame: function(text){ |
|
1130 disabledPreview(); |
|
1131 currentAnnotation.content.text = text; |
|
1132 return text; |
|
1133 } |
|
1134 }; |
1126 }; |
|
1127 |
|
1128 function updateWysiwigText(text){ |
|
1129 disabledPreview(); |
|
1130 currentAnnotation.content.markup = 'html'; |
|
1131 currentAnnotation.content.text = text; |
|
1132 return text; |
|
1133 } |
1135 |
1134 |
1136 //slider |
1135 //slider |
1137 function configSlider(data){ |
1136 function configSlider(data){ |
1138 return { |
1137 return { |
1139 range: true, |
1138 range: true, |