File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -144,11 +144,13 @@ export function handleTableCellRangeEvents(editor) {
144
144
cell . removeAttribute ( 'align' ) ;
145
145
cleanChildAlignment ( cell ) ;
146
146
} ,
147
- JustifyRight : this . JustifyLeft ,
148
- JustifyCenter : this . JustifyLeft ,
149
- JustifyFull : this . JustifyLeft ,
150
147
} ;
151
148
149
+ // Copy justify left action to other alignment actions
150
+ actionByCommand . JustifyRight = actionByCommand . JustifyLeft ;
151
+ actionByCommand . JustifyCenter = actionByCommand . JustifyLeft ;
152
+ actionByCommand . JustifyFull = actionByCommand . JustifyLeft ;
153
+
152
154
editor . on ( 'ExecCommand' , event => {
153
155
const action = actionByCommand [ event . command ] ;
154
156
if ( action ) {
Original file line number Diff line number Diff line change @@ -36,11 +36,9 @@ class="button outline">{{ trans('entities.comment_add') }}</button>
36
36
@endif
37
37
38
38
@if (userCan (' comment-create-all' ) || $commentTree -> canUpdateAny () )
39
- @push (' post-app-scripts ' )
40
- <script src =" {{ versioned_asset (' libs/tinymce/tinymce.min.js' ) } }" nonce =" {{ $cspNonce } }" ></script >
39
+ @push (' body-end ' )
40
+ <script src =" {{ versioned_asset (' libs/tinymce/tinymce.min.js' ) } }" nonce =" {{ $cspNonce } }" defer ></script >
41
41
@include (' form.editor-translations' )
42
- @endpush
43
- @push (' post-app-html' )
44
42
@include (' entities.selector-popup' )
45
43
@endpush
46
44
@endif
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ class="{{ setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : ''
35
35
<!-- OpenSearch -->
36
36
<link rel =" search" type =" application/opensearchdescription+xml" title =" {{ setting (' app-name' ) } }" href =" {{ url (' /opensearch.xml' ) } }" >
37
37
38
- @yield (' head' )
39
-
40
38
<!-- Custom Styles & Head Content -->
41
39
@include (' layouts.parts.custom-styles' )
42
40
@include (' layouts.parts.custom-head' )
@@ -70,14 +68,10 @@ class="@stack('body-class')">
70
68
</div >
71
69
</div >
72
70
73
- @yield (' bottom' )
74
- @stack (' post-app-html' )
75
-
76
71
@if ($cspNonce ?? false )
77
- <script src =" {{ versioned_asset (' dist/app.js' ) } }" nonce =" {{ $cspNonce } }" ></script >
72
+ <script src =" {{ versioned_asset (' dist/app.js' ) } }" type = " module " nonce =" {{ $cspNonce } }" ></script >
78
73
@endif
79
- @yield (' scripts' )
80
- @stack (' post-app-scripts' )
74
+ @stack (' body-end' )
81
75
82
76
@include (' layouts.parts.base-body-end' )
83
77
</body >
You can’t perform that action at this time.
0 commit comments