-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre load text into editor #146
Comments
Maybe something like this. I did not test this so it is only intended to give some ideas. To pre-load text into the Django Markdown Editor with JavaScript, you can follow these steps:
With these changes, when the user uploads a markdown file, the contents of the file will be loaded into the Django Markdown Editor and the user can then edit the contents of the file within the editor. This allows for a more seamless editing experience for the user, as they can make changes to the uploaded markdown file without having to copy and paste the contents into the editor manually. Keep in mind that you may need to adjust the code to fit your specific use case and the Django Markdown Editor library you are using.
|
Is it possible to pre-load text into the markdown editor with javascript?
I want the user to upload a markdown file, and then insert the contents of the markdown file to the editor so the user can edit his file contents.
The text was updated successfully, but these errors were encountered: