mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
e0d9380055
- Removed old 'editor-*-update' commands to instead use the aligned 'editor::replace' command that we already have. - Changed the way custom styles are loaded for the WYSIWYG editor so we don't need an API call but instead scape content from the parent page header using comments as identifiers. Added tests to ensure comments exist and align.
7 lines
259 B
PHP
7 lines
259 B
PHP
@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider')
|
|
|
|
@if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
|
|
<!-- Start: custom user content -->
|
|
{!! $headContent->forWeb() !!}
|
|
<!-- End: custom user content -->
|
|
@endif |