From c59c1251bbf815e83cef3929d3a2884037d3cc83 Mon Sep 17 00:00:00 2001 From: ryuring Date: Sat, 28 Oct 2023 16:46:26 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A6=E3=83=8B=E3=83=83=E3=83=88=E3=83=86?= =?UTF-8?q?=E3=82=B9=E3=83=88=E5=A4=B1=E6=95=97=E3=81=AB=E3=82=88=E3=82=8B?= =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/baser-core/src/Plugin.php | 1 - plugins/baser-core/src/View/Helper/BcFormHelper.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/baser-core/src/Plugin.php b/plugins/baser-core/src/Plugin.php index 7f24b7d08a..ba6e7ac290 100644 --- a/plugins/baser-core/src/Plugin.php +++ b/plugins/baser-core/src/Plugin.php @@ -153,7 +153,6 @@ public function bootstrap(PluginApplicationInterface $app): void if (BcUtil::isTest()) $app->addPlugin('CakephpFixtureFactories'); $app->addPlugin('Authentication'); $app->addPlugin('Migrations'); - $app->addPlugin('SoftDelete'); $this->addTheme($app); diff --git a/plugins/baser-core/src/View/Helper/BcFormHelper.php b/plugins/baser-core/src/View/Helper/BcFormHelper.php index c9205a8d70..50dc763b55 100644 --- a/plugins/baser-core/src/View/Helper/BcFormHelper.php +++ b/plugins/baser-core/src/View/Helper/BcFormHelper.php @@ -717,7 +717,7 @@ public function editor($fieldName, $options = []) return $bcCkeditor->editor($fieldName, $options); } - $this->_View->addHelper($options['editor']); + $this->_View->loadHelper($options['editor']); [, $editor] = pluginSplit($options['editor']); if (!empty($this->getView()->{$editor})) { return $this->getView()->{$editor}->editor($fieldName, $options);