Affects Version/s: None
Fix Version/s: None
Component/s: Self Voicing
Environment:Windows 10 Pro v1909
When in the Story Edit page on the Storytelling Tool staging site, if I select a piece of text, the Orator will appear and offer to play it using the selectionReader. If that piece of text happens to be within the <form> element of the editor (i.e. the block editing or metadata areas), then clicking "Play" submits the form and reloads the page.
- Go to the Storytelling Tool staging site's Edit page: https://staging-stories.floeproject.org/storyEdit.html
- Select a piece of text within the "Story Builder" area in the middle of the page (see screenshots for examples)
- Click "Play" on the selectionReader
The text is voiced by the Orator
The form is submitted
The Play button should be updated to make it a "button" type button. I.e. on this line of the component configuration that defines the markup for the selectionReader, the "type" attribute should be specified (see "2020-06-02 orator bug fix.png" for an example). This is because if the "type" attribute is missing, the default behaviour is to submit the form.