To reproduce follow these steps:
- Browse to the demo page at http://www.codingdrama.com/bootstrap-markdown/, or any other instance of the editor.
- Set up logging of the
onchange events for the textarea by executing the following in the browser console. This selects the first textarea in the demo page at the time of writing.
$('textarea[name=content]').change(console.log.bind(console))
- Edit the content inside the textarea and then blur the textarea. Notice that the
onchange event was logged to the console.
- Now select some text and make it bold using the editor button and blur the textarea before making any other changes. Notice that no
onchange event was triggered.
An onchange event should be triggered in this case.
To reproduce follow these steps:
onchangeevents for the textarea by executing the following in the browser console. This selects the first textarea in the demo page at the time of writing.$('textarea[name=content]').change(console.log.bind(console))onchangeevent was logged to the console.onchangeevent was triggered.An
onchangeevent should be triggered in this case.