adapt_authoring icon indicating copy to clipboard operation
adapt_authoring copied to clipboard

Scaffold editor fallback

Open lc-thomasberger opened this issue 6 years ago • 3 comments
trafficstars

Affected Area

Backbone Forms override

Requested Feature

Plugin authors should be able to define a fallback editor. Instead of breaking if no supported input editor is found, scaffold should fallback to Text editor or a generic editor (in the future) that is well supported.

Current Workaround

None

Additional Information

https://github.com/adaptlearning/adapt_authoring/pull/2204 <-- user editor https://github.com/adaptlearning/adapt_authoring/pull/2156 <-- assetItems editor

lc-thomasberger avatar Feb 11 '19 15:02 lc-thomasberger

:+1: I think even displaying some kind of could not be displayed, please contact your administrator message would in place of the missing editor would be fine.

taylortom avatar Feb 13 '19 12:02 taylortom

👍 , will add highlighting to the PR. Being able to see and edit the value would be good though for power users. We can experiment with this and decide what route to go.

lc-thomasberger avatar Feb 13 '19 12:02 lc-thomasberger

Yeah true, should probably be a code editor by default then, as that's the only one that would allow you to set a correctly formatted output.

taylortom avatar Feb 13 '19 13:02 taylortom