Converting from an audio block with a formatted caption to a file block results in an incorrect file link #7626
Labels
[Feature] Block Transforms
Block transforms from one block to another
[Feature] Blocks
Overall functionality of blocks
[Type] Bug
An existing feature does not function as intended
Describe the bug
When converting from an audio block that has a formatted caption (bold/underlined/strikethrough formating applied) to a file block, the caption is expected to be displayed as the link to the file. However, the conversion process is not correctly removing the applied formatting, causing
[object Object]
to be displayed.File block is a new block being introduced in #7622
To Reproduce
Steps to reproduce the behavior:
[object Object]
where formatting was appliedExpected behavior
Any formatting should be removed and purely the text of the caption should be shown as the file link
Screenshots
![formatting-bug](https://user-images.githubusercontent.com/677833/42084382-10bd0534-7bc0-11e8-9412-05bd1cf75d08.gif)
The text was updated successfully, but these errors were encountered: