-
Notifications
You must be signed in to change notification settings - Fork 770
表單有多個editor時只會顯示最後一個 #63
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- Laravel Version: #.#.#
- PHP Version: #.#.#
- Dcat Admin Version: #.#.#
Description:
因為editor的渲染會先remove掉,所以如果一個表單有多個editor的話就只會顯示最後一個editor
Dcat\Admin\Form\Field\Editor
public function render()
{
$this->script = <<<JS
tinymce.remove(); // here
tinymce.init({$this->formatOptions()})
JS;
return parent::render();
}Steps To Reproduce:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working