File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed
Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 7777 } ,
7878 preformattedText : {
7979 title : "Preformatted text / Codes" ,
80- emptyAlert : "Error: Please fill in the Preformatted text or content of the codes."
80+ emptyAlert : "Error: Please fill in the Preformatted text or content of the codes." ,
81+ placeholder : "coding now...."
8182 } ,
8283 codeBlock : {
8384 title : "Code block" ,
8485 selectLabel : "Languages: " ,
8586 selectDefaultText : "select a code language..." ,
8687 otherLanguage : "Other languages" ,
8788 unselectedLanguageAlert : "Error: Please select the code language." ,
88- codeEmptyAlert : "Error: Please fill in the code content."
89+ codeEmptyAlert : "Error: Please fill in the code content." ,
90+ placeholder : "coding now...."
8991 } ,
9092 htmlEntities : {
9193 title : "HTML Entities"
Original file line number Diff line number Diff line change 7777 } ,
7878 preformattedText : {
7979 title : "添加預格式文本或代碼塊" ,
80- emptyAlert : "錯誤:請填寫預格式文本或代碼的內容。"
80+ emptyAlert : "錯誤:請填寫預格式文本或代碼的內容。" ,
81+ placeholder : "coding now...."
8182 } ,
8283 codeBlock : {
8384 title : "添加代碼塊" ,
8485 selectLabel : "代碼語言:" ,
8586 selectDefaultText : "請語言代碼語言" ,
8687 otherLanguage : "其他語言" ,
8788 unselectedLanguageAlert : "錯誤:請選擇代碼所屬的語言類型。" ,
88- codeEmptyAlert : "錯誤:請填寫代碼內容。"
89+ codeEmptyAlert : "錯誤:請填寫代碼內容。" ,
90+ placeholder : : "coding now...."
8991 } ,
9092 htmlEntities : {
9193 title : "HTML實體字符"
124126 factory ( window . editormd ) ;
125127 }
126128
127- } ) ( ) ;
129+ } ) ( ) ;
Original file line number Diff line number Diff line change 8585 var dialogHTML = "<div class=\"" + classPrefix + "code-toolbar\">" +
8686 dialogLang . selectLabel + "<select><option selected=\"selected\" value=\"\">" + dialogLang . selectDefaultText + "</option></select>" +
8787 "</div>" +
88- "<textarea placeholder=\"coding now.... \" style=\"display:none;\">" + selection + "</textarea>" ;
88+ "<textarea placeholder=\"" + dialogLang . placeholder + " \" style=\"display:none;\">" + selection + "</textarea>" ;
8989
9090 dialog = this . createDialog ( {
9191 name : dialogName ,
Original file line number Diff line number Diff line change 4141 }
4242 else
4343 {
44- var dialogContent = "<textarea placeholder=\"coding now.... \" style=\"display:none;\">" + selection + "</textarea>" ;
44+ var dialogContent = "<textarea placeholder=\"" + dialogLang . placeholder + " \" style=\"display:none;\">" + selection + "</textarea>" ;
4545
4646 dialog = this . createDialog ( {
4747 name : dialogName ,
You can’t perform that action at this time.
0 commit comments