Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

editor.type

type
Type: string
If set to the string content-primary, this editor becomes the primary content for the page. The window for the primary content can be retrieved more conveniently using window.content.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Mgjbot, Ptak82, Dria
 Last updated by: Sheppy,