为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

PHP
慕容森 2023-04-02 15:05:14
我的问题看起来很简单,但我没有在文档旁边或我的研究中找到任何东西(至少是关于 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                              ),
查看完整描述

1 回答

?
临摹微笑

TA贡献1982条经验 获得超2个赞

您可以使用“AdminPatternsController”作为指南。


            array(

                'type' => 'textarea',

                'label' => 'text area with rich text editor',

                'name' => 'type_textarea_rte',

                'autoload_rte' => true

            ),


查看完整回答
反对 回复 2023-04-02
  • 1 回答
  • 0 关注
  • 79 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信