-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: support pre-fill forms on the ask page #1014
Conversation
the structure is as below. {
"title": "wwwwwwwwwwwwwwwww",
"tags": [
{ "slug_name": "test", "display_name": "test", "original_text": "tst" }
],
"content": "# wwwwwwwwwwwwwwwwwwww\n\nhello world!\n\n```js\nconst a = 1;\n```"
} |
Discussed some details with the product, from the user's point of view, the current program will bring some difficulty to the user, the specific implementation details I will add to issue #1009
|
updated. support pre-fill with markdown format. e.g.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
close #1009 . + @shuashuai to help to review, thx!
using
prefill
query parameter for pre-fill content. UsingJSON
format with same structure with draft data saved in local storage.the query parameter should be serialized before using as parameter. the serialization steps are similar as below.
e.g.