miguelgrinberg / Flask-PageDown

Implementation of StackOverflow's "PageDown" markdown editor for Flask and Flask-WTF.
MIT License
244 stars 21 forks source link

PageDownField return value of form not correct ? #17

Closed windery closed 7 years ago

windery commented 7 years ago

Problem
After update post content, I tried to get the value of PageDownField content from field data with code post_form.content.data, but the value not changed, and I found value of raw_data is the value expected.

libraries

code

miguelgrinberg commented 7 years ago

I see no problem getting the data attribute using the example in this repository. Does this example also give you problems?

windery commented 7 years ago

Hi, Miguel! Sorry, it's my own fault for a bug, I fixed it and it works now. Thanks for your reply!