CIDI / kennethware-2.0

Tools to facilitate rapid course development in Instructure Canvas.
https://usu.instructure.com/courses/305202
GNU Affero General Public License v3.0
39 stars 29 forks source link

Updates for TinyMCE editor identification in Canvas Beta #37

Closed duniken closed 8 years ago

enorthrup commented 8 years ago

Hi Kenneth,

I've been trying to find info on the change made in Canvas Beta for TinyMCE API calls. I haven't been able to find it in the Beta release notes. Do you mind pointing me in the right direction or providing me a little more detail on what you know about the change and when it might end up in production? I really appreciate any help you can provide.

Thanks, Elena

duniken commented 8 years ago

Hi Elena, The change did not appear in the Beta release notes because it was a code change not really a change in the interface or functionality. I discovered the problem when I tried to use the tools in Beta and they would not load. I inspected the code and found that the ID for the rich content editor that used to be tinymce was now tinyrce and all of the editor API calls that I used for the tools had stopped working. I tried everything I could think of to figure what they had done but was unsuccessful. I put out feelers using all of the channels I knew to get more information from Canvas including posting a question on the Beta release notes, filing a support ticket, talking with our Canvas CSM and a few other approaches. I was able to get a web conference with several of their developers and we talked through the changes they had made. As I understand it, the way Canvas currently stands, they are creating the rich content editor and all of the sidebar links on each page where they are needed. They are working to modularize that process so that the simply need to add a line of code on each page that instantiates everything connected to the editor and sidebar. They created a new version of the editor that is a result of this approach so that they can gradually update those areas where the editor exists without breaking existing functionality. From what I understand this will be a gradual process as they rework different aspects of Canvas. Until that time, some of the editors will end up using the tinymce version and others will use the tinyrce version. I don't recall them giving any dates about when these changes would appear in production, but I figured I would put the changes out now hoping more people would be prepared when and if they do flip any of the switches. Hope that helps, Kenneth