在 displayForm() 方法 Prestashop 1.7 上激活 TinyMCE

我的问题看起来很简单,但我没有在文档旁边或我的研究中找到任何东西(至少是关于 1.6 的答案)如何为我的 displayForm () 方法的文本区域激活 tinymce?


'input' => array(

                        /* ... */


                          array(

                              'type' => 'textarea',

                              'label' => $this->l('Item Details'),

                              'required' => true,

                               // I tried this, indicated by the doc

                              'options' => array(

                                  'autoload' => true,

                                  'limit' => 21000

                              ),


慕容森
浏览 100回答 1
1回答

临摹微笑

您可以使用“AdminPatternsController”作为指南。            array(                'type' => 'textarea',                'label' => 'text area with rich text editor',                'name' => 'type_textarea_rte',                'autoload_rte' => true            ),
打开App,查看更多内容
随时随地看视频慕课网APP