Trouble with summernote

Hello everyone, how are you?

I am having some issues creating notes (inserting in database with string field) using summernote.

I don't understand how summernote works, when i type a simple text like: "teste 212" it saves in my db "< p >teste 212< /p>"... When i type something more complicated using bolds and headers it simply don't save anything.

I am using it wrong? Maybe i should change the type of my field...

Can someone help me please?

Thanks,
Rodrigo



Do you see any errors in the dev tools Network > XHR when you submit your form?

No. The field (editor2) is simply empty.


I've changed the note_content field from string to text and now it's working fine! Thanks anyway!