Skip to content

Changes made using the editor buttons doesn't trigger onchange on the textarea #308

Closed
@BudgieInWA

Description

To reproduce follow these steps:

  1. Browse to the demo page at http://www.codingdrama.com/bootstrap-markdown/, or any other instance of the editor.
  2. 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))
  3. Edit the content inside the textarea and then blur the textarea. Notice that the onchange event was logged to the console.
  4. 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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions