diff --git a/languages/en.js b/languages/en.js index 0120a46..8ee2c85 100644 --- a/languages/en.js +++ b/languages/en.js @@ -77,7 +77,8 @@ }, preformattedText : { title : "Preformatted text / Codes", - emptyAlert : "Error: Please fill in the Preformatted text or content of the codes." + emptyAlert : "Error: Please fill in the Preformatted text or content of the codes.", + placeholder : "coding now...." }, codeBlock : { title : "Code block", @@ -85,7 +86,8 @@ selectDefaultText : "select a code language...", otherLanguage : "Other languages", unselectedLanguageAlert : "Error: Please select the code language.", - codeEmptyAlert : "Error: Please fill in the code content." + codeEmptyAlert : "Error: Please fill in the code content.", + placeholder : "coding now...." }, htmlEntities : { title : "HTML Entities" diff --git a/languages/zh-tw.js b/languages/zh-tw.js index c92d271..68da83f 100644 --- a/languages/zh-tw.js +++ b/languages/zh-tw.js @@ -77,7 +77,8 @@ }, preformattedText : { title : "添加預格式文本或代碼塊", - emptyAlert : "錯誤:請填寫預格式文本或代碼的內容。" + emptyAlert : "錯誤:請填寫預格式文本或代碼的內容。", + placeholder : "coding now...." }, codeBlock : { title : "添加代碼塊", @@ -85,7 +86,8 @@ selectDefaultText : "請語言代碼語言", otherLanguage : "其他語言", unselectedLanguageAlert : "錯誤:請選擇代碼所屬的語言類型。", - codeEmptyAlert : "錯誤:請填寫代碼內容。" + codeEmptyAlert : "錯誤:請填寫代碼內容。", + placeholder: : "coding now...." }, htmlEntities : { title : "HTML實體字符" @@ -124,4 +126,4 @@ factory(window.editormd); } -})(); \ No newline at end of file +})(); diff --git a/plugins/code-block-dialog/code-block-dialog.js b/plugins/code-block-dialog/code-block-dialog.js index 0e89e37..4ecb997 100644 --- a/plugins/code-block-dialog/code-block-dialog.js +++ b/plugins/code-block-dialog/code-block-dialog.js @@ -85,7 +85,7 @@ var dialogHTML = "