You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the language used to configure the Monaco editor with syntax highlighting and basic IDE features is inferred from either the webpage's file extension or the returned content-type. As far as I can tell, we could not use such logic when enabling the extension on random selected text areas and would probably have to configure the editor as just plain text. This would significantly reduce available features and limit its usefulness.
As far as GitHub is concerned, the extension should in theory work flawlessly on raw pages. However, GitHub has a CSP sandbox policy and handling of this policy has been pretty much broken in all major browsers for years (see this Chrome bug and this Firefox bug amongst many others). Things seem to finally be moving on the Firefox side, as they have noticed that more and more extensions have been implementing dodgy code to overwrite CSP headers on the fly as a workaround - which defeats the point of CSP which was initially intended as a security feature.
Please provide a right click menu option to enable on selected textareas.
good example is github.
The text was updated successfully, but these errors were encountered: