Skip to content

Commit afb88d4

Browse files
committed
refs #1067 : bugfix - missing parentheses
refs #1773 : modified - font-size added ( suggested by http://forum.tattersite.com/ko/viewtopic.php?pid=42615#p42615 ) -
1 parent 4ea826b commit afb88d4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

library/model/blog.entry.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ function updateEntry($blogid, $entry, $updateDraft = 0) {
11661166
}
11671167

11681168
function saveDraftEntry($blogid, $entry) {
1169-
$ctx = Model_Context::getInstance
1169+
$ctx = Model_Context::getInstance();
11701170
$pool = DBModel::getInstance();
11711171

11721172
requireModel('blog.tag');

plugins/ED_tinyMCE/index.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ function tinyMCE_editorinit($editor) {
6868

6969
toolbar1: "tcsave print | bold italic underline strikethrough | styleselect formatselect fontselect fontsizeselect forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote hr tcmoreless",
7070
toolbar2: "undo redo | searchreplace | tcattach image media charmap insertdatetime | subscript superscript ltr rtl cite abbr acronym del ins | hr link unlink anchor | table | cut copy paste pastetext| removeformat code visualblocks",
71-
72-
7371
<?php
7472
}
7573
?>
@@ -122,6 +120,7 @@ function tinyMCE_editorinit($editor) {
122120
{title: 'figure', block: 'figure', wrapper: true}
123121
]}
124122
],
123+
fontsize_formats: "8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt",
125124
forced_root_block : false,
126125
width : <?php echo ($config['width'] == 'full' ? '"100%"' : $context->getProperty('skin.contentWidth')+40);?>
127126
}, tinymce.EditorManager);

0 commit comments

Comments
 (0)