2016-07-07 23 views

回答

0

的CKEditor的提供API來做到這一點,只要按照本教程: http://docs.ckeditor.com/#!/guide/widget_sdk_tutorial_1

直接在打字稿使用它,你需要使用TSD安裝CKEditor的定義文件:

npm i tsd -g 

然後:

tsd install ckeditor --save 

不要忘記在您的compilatio中添加d.ts文件n週期,通常在應用入口點內:

/// <reference path="../typings/ckeditor/ckeditor.d.ts" /> 
相關問題