When embedding a document into an RCE enabled field in canvas using the new RCE enhancements, using the "insert > links > course links" option to insert a file instead of "insert > documents > course documents" option the file will not render an inline preview.
Instead it should allow the document to be previewed inline.
Steps to Reproduce
Prereq: Course with the RCE enhancements feature flag enabled.
Add a pdf file to the course files
Create or edit a wiki page in the course
Use the Insert menu and choose "Links > Course Links"
Change the dropdown menu at the top of the right sidebar that opened and select files
Expand Course files and click on the pdf you uploaded