Documentation

Source

Type: Boolean, Object

Default: true

By default, the editor has the ability to edit the source HTML code. There is a button on the toolbar that switches Redactor X to source mode. You can disable it using the source setting, like this:

RedactorX('#entry', {
    source: false
});

Now the toolbar does not have a switch button in source mode.