2019年1月22日 星期二

[研究] NuGet 升級 ckeditor 語系設定復原

[研究] NuGet 升級 ckeditor 語系設定復原

2019-01-22

環境:Visual Studio 2017 v15.9.5
NuGet 把 ckeditor-full.4.10.0 升級到  ckeditor-full.4.11.1  (其他版本可能也有相同情況)




Setting Editor User Interface Language
https://ckeditor.com/docs/ckeditor4/latest/guide/dev_uilanguage.html

只允許某些 HTML elements, attributes, styles, and classes

config.language = 'zh';

Advanced Content Filter
https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html

只允許某些 HTML elements, attributes, styles, and classes

config.allowedContent =
    'h1 h2 h3 p blockquote strong em;' +
    'a[!href];' +
    'img(left,right)[!src,alt,width,height];';

全部允許

config.allowedContent = true;

(完)

相關

Setting Editor User Interface Language
https://ckeditor.com/docs/ckeditor4/latest/guide/dev_uilanguage.html

[研究] NuGet 升級 ckeditor 語系設定復原
https://shaurong.blogspot.com/2019/01/nuget-ckeditor.html

[研究] NuGet 安裝的 CKEditor 版本比較
http://shaurong.blogspot.com/2018/06/nuget-ckeditor.html

[研究][ASP.NET][JavaScript] ckeditor-full v4.9.2 試用(NuGet安裝)
http://shaurong.blogspot.com/2018/06/aspnetjavascript-ckeditor-full-v492.html

[研究][JavaScript] CKeditor 4.9.1 與 Fortify SCA v17.20
http://shaurong.blogspot.com/2018/04/javascript-ckeditor-491-fortify-sca.html

[研究][ASP.NET][JavaScript] ckeditor v3.6.4試用 (NuGet 安裝)
http://shaurong.blogspot.com/2018/06/aspnetjavascript-ckeditor-v364-nuget.html

[研究][ASP.NET][JavaScript] CkeditorForASP.NET v3.6.4試用 (NuGet安裝)
http://shaurong.blogspot.com/2018/06/aspnetjavascript-ckeditorforaspnet-v364.html

[研究][ASP.NET] CKEditor.NET 1.0.0 試用 (NuGet安裝)
http://shaurong.blogspot.com/2018/06/aspnet-ckeditornet-100-nuget.html

沒有留言:

張貼留言