Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
6a28f2ff
Unverified
Commit
6a28f2ff
authored
Jul 12, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bind the configured handler to the EditorIsRendering hook
parent
75ce82c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
CoreServiceProvider.php
Modules/Core/Providers/CoreServiceProvider.php
+2
-0
No files found.
Modules/Core/Providers/CoreServiceProvider.php
View file @
6a28f2ff
...
@@ -12,6 +12,7 @@ use Modules\Core\Console\DownloadModuleCommand;
...
@@ -12,6 +12,7 @@ use Modules\Core\Console\DownloadModuleCommand;
use
Modules\Core\Console\InstallCommand
;
use
Modules\Core\Console\InstallCommand
;
use
Modules\Core\Console\PublishModuleAssetsCommand
;
use
Modules\Core\Console\PublishModuleAssetsCommand
;
use
Modules\Core\Console\PublishThemeAssetsCommand
;
use
Modules\Core\Console\PublishThemeAssetsCommand
;
use
Modules\Core\Events\EditorIsRendering
;
use
Modules\Core\Foundation\Theme\ThemeManager
;
use
Modules\Core\Foundation\Theme\ThemeManager
;
use
Modules\Core\Traits\CanPublishConfiguration
;
use
Modules\Core\Traits\CanPublishConfiguration
;
use
Nwidart\Modules\Module
;
use
Nwidart\Modules\Module
;
...
@@ -53,6 +54,7 @@ class CoreServiceProvider extends ServiceProvider
...
@@ -53,6 +54,7 @@ class CoreServiceProvider extends ServiceProvider
$this
->
registerModuleResourceNamespaces
();
$this
->
registerModuleResourceNamespaces
();
$this
->
bladeDirectives
();
$this
->
bladeDirectives
();
$this
->
app
[
'events'
]
->
listen
(
EditorIsRendering
::
class
,
config
(
'asgard.core.core.wysiwyg-handler'
));
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment