2022-04-18 06:01:14 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								@push('head')
							 | 
						
					
						
							
								
									
										
										
										
											2022-08-02 18:17:02 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <script src="{{ versioned_asset('libs/tinymce/tinymce.min.js') }}" nonce="{{ $cspNonce }}"></script>
							 | 
						
					
						
							
								
									
										
										
										
											2022-04-18 06:01:14 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@endpush
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-06 04:18:17 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								<div component="wysiwyg-editor"
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-07 05:17:08 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								     option:wysiwyg-editor:language="{{ config('app.lang') }}"
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-06 04:18:17 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								     option:wysiwyg-editor:page-id="{{ $model->id ?? 0 }}"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								     option:wysiwyg-editor:text-direction="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
							 | 
						
					
						
							
								
									
										
										
										
											2020-11-22 01:52:49 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								     option:wysiwyg-editor:image-upload-error-text="{{ trans('errors.image_upload_error') }}"
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-27 01:23:27 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								     option:wysiwyg-editor:server-upload-limit-text="{{ trans('errors.server_upload_limit') }}"
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-06 04:18:17 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								     class="flex-fill flex">
							 | 
						
					
						
							
								
									
										
										
										
											2019-07-06 21:52:25 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-07-26 21:49:05 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <textarea id="html-editor"  name="html" rows="5"
							 | 
						
					
						
							
								
									
										
										
										
											2019-09-07 05:14:39 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								          @if($errors->has('html')) class="text-neg" @endif>@if(isset($model) || old('html')){{ old('html') ? old('html') : $model->html }}@endif</textarea>
							 | 
						
					
						
							
								
									
										
										
										
											2019-07-06 21:52:25 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@if($errors->has('html'))
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <div class="text-neg text-small">{{ $errors->first('html') }}</div>
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-07 05:17:08 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@endif
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								@include('pages.parts.editor-translations')
							 |