<textarea name="text-editor" id="text-editor" value="{{ old('text-editor') }}"></textarea>
不起作用,因为CKEditor javascript脚本所做的所有事情。那么,当用户写的少于30个字符时,有没有办法放回编辑器的内容呢?
您应该在标记之间放置旧值,因为 textarea does not have value 财产- <textarea name="text-editor" id="text-editor">{{ old('text-editor') }}</textarea>
textarea
value
<textarea name="text-editor" id="text-editor">{{ old('text-editor') }}</textarea>