This is appears to be another bug with the protect source feature in the editor, at the moment caused by the text selection plugin.
Until this bug is fixed in the editor, the only workaround would be to remove the textselection plugin from the editor via the options under Editor Config > ExtraPlugins
Until this bug is fixed in the editor, the only workaround would be to remove the textselection plugin from the editor via the options under Editor Config > ExtraPlugins