我正嘗試在ck編輯器中集成Javascript虛擬鍵盤插件。在pugin的內部,他們給出了關於如何將它與ck編輯器集成的insturctions,但仍然無法整合它。所以任何人都可以幫助我解決我的問題。在ck編輯器中集成Javascript虛擬鍵盤插件
安裝:
1. Extract contents of this archive to the /plugins/ folder under CKEditor root
2. add ",extraPlugins : 'Jsvk'" line to the editor constructor parameters
3. Update your toolbar by adding item 'Jsvk' to one of the button groups
您可以從this link
下載插件到目前爲止,我已經試過這其中包括執行步驟2和1,但被困在第3步: -
CKEDITOR.editorConfig = function(config) {
// Define changes to default configuration here. For example:
config.language = 'DE';
config.extraPlugins = 'equation';
config.extraPlugins = 'Jsvk' ; };
它顯示我的虛擬鍵盤的選項,但每當我試圖打開它,然後它顯示我一個空白彈出框
你做了什麼? – 2013-03-08 11:06:43
我做了以上所有步驟,除了最後一個我真的無法理解的.CKEDITOR.editorConfig = function(config){ \t //在這裏定義對默認配置的更改。例如: \t config.language ='DE'; \t config.extraPlugins ='equation'; \t config.extraPlugins ='Jsvk'; – 2013-03-08 11:07:36
您需要將該項目添加到工具欄配置中。 'Jsvk' – 2013-03-08 11:08:08