laravel-editor
laravel-editor copied to clipboard
Repopulate unsuccessful form
Hello guys, I've implemented this editor on a blog and liked it. Everything seems to be smooth, except one problem. When a user submits an NEW incomplete post, generally its validated and redirected back with all the submitted data. How to repopulate the editor area? Editor::view() is empty
Regards
@almamundinajpuri you should be able to call Editor::view($content)
passing the raw content that is usually passed from the editor as input, which will then have it populated inside the editor when rendered.