2013-08-21 18 views
0

我需要使用CQ.Util.Build創建一個RTE(作爲「/ foundation/social/blog/entryform」JSP中所做的擴展)。 我使用CQ5.6和Firefox瀏覽器使用CQ.Util.Build的CQ5中的RTE插件

最後的編輯需要有一定程度以下功能:

enter image description here

我使用此代碼嘗試,但我仍然沒有看到任何新功能編輯:

{ 
       "xtype":"richtext", 
       "id":"<%= id %>_text", 
       "name":"text", 
       "enableSourceEdit":true, 
       "width":"100%", 
       "rtePlugins":{ 
         "spellcheck":{"features":"*"}, 
         "image":{"features":"* "}, 
         "edit":{"features":"* "}, 
         "justify":{"features":"* "}, 
         "misctools":{"features":"* "}, 
         "table":{"features":"* "}, 
         "undo":{"features":"* "}} 
      } 

回答

1

我發現問題與我添加的屬性。

"features":"* ""*"在任何地方都有額外的空間。刪除後,它工作正常