mirror of
https://github.com/typecho/typecho.git
synced 2025-03-14 15:09:41 +01:00
parent
bfd97b3a51
commit
08bccb90fc
@ -9,7 +9,7 @@ $(document).ready(function () {
|
||||
toolbar = $('<div class="editor" id="wmd-button-bar" />').insertBefore(textarea.parent())
|
||||
preview = $('<div id="wmd-preview" class="wmd-hidetab" />').insertAfter('.editor');
|
||||
|
||||
var options = {}, isMarkdown = <?php echo intval($content->isMarkdown); ?>;
|
||||
var options = {}, isMarkdown = <?php echo intval($content->isMarkdown || !$content->have()); ?>;
|
||||
|
||||
options.strings = {
|
||||
bold: '<?php _e('加粗'); ?> <strong> Ctrl+B',
|
||||
|
Loading…
x
Reference in New Issue
Block a user