PayloadKit

TextEdit

com.apple.TextEdit

TextEdit settings

macOS

Configuration Keys (35)

Showing 35 of 35 keys

KeyTypeDescriptionDefaultRange
string—Default: —Range: —
string—Default: —Range: —
booleanSet this preference to 'false' to forcibly disable adding the ".txt" extension to plain text files.Default: trueRange: —
integer—Default: —Range: Unicode UTF-16 (10), Unicode UTF-8 (4), Western Mac OS Roman (30), Western Windows Latin 1 (12), Japanese Mac OS (2147483649), Japanese Shift JIS (2147486209), Traditional Chinese Mac OS (2147483650), Korean Mac OS (2147483651), Simplified Chinese Mac OS (2147483673), Chinese GB 18030 (2147485234)
booleanSet this preference to 'false' to forcibly disable grammar checking with spelling.Default: —Range: —
booleanSet this preference to 'false' to forcibly disable spell checking while typing.Default: —Range: —
booleanSet this preference to 'false' to forcibly disable automatic spelling correction.Default: —Range: —
booleanSet this preference to 'true' to forcibly enable data detectors. Data detectors can automatically detect date, time, and contact information, which can then be used to update a contact, create a new Calendar event, and more.Default: —Range: —
integerBy default, the Window Size height is 30 lines. Enable this setting to change this default window height.Default: —Range: —
IgnoreHTMLboolean
booleanSet this preference to 'true' to display .html files as HTML code instead of formatted text when opening a file.Default: —Range: —
booleanSet this preference to 'true' to display .rtf files as RTF code instead of formatted text when opening a file.Default: —Range: —
booleanSet this preference to 'false' to suppress TextEdit messages when closing documents saved on storage volumes that don't support Apple's permanent version storage. This will not inform users about being unable to access these older versions via Time Machine.Default: —Range: —

Plain Text Font

stringEnter the name of the desired plain text font. This defaults to Menlo. String format: Find your desired font file in either /System/Library/Fonts or /Library/Fonts. Whatever the name of this font file is is exactly what needs to be entered for the font name. Additionally, if you desire to use a font typeset that is not the default - Plain, Regular, etc. - , you can specify this by adding the name of the typeset to end of the font name string with a hyphen inbetween. Ex. AlBayan-Bold Ex. AmericanTypewriter-Condensed Ex. ArialMTDefault: —Range: —

Plain Text Font Size

integerEnter the desired font size for plain text documents.Default: —Range: —
NSFontstring

Rich Text Font

stringEnter the name of the desired rich text font. This defaults to Helvetica. String format: Find your desired font file in either /System/Library/Fonts or /Library/Fonts. Whatever the name of this font file is is exactly what needs to be entered for the font name. Additionally, if you desire to use a font typeset that is not the default - Plain, Regular, etc. - , you can specify this by adding the name of the typeset to end of the font name string with a hyphen inbetween. Ex. AlBayan-Bold Ex. AmericanTypewriter-Condensed Ex. ArialMTDefault: —Range: —
NSFontSizeinteger

Rich Text Font Size

integerEnter the desired font size for rich text documents.Default: —Range: —
booleanSet this preference to 'false' to not include code that preserves the white space in your document's formatted text.Default: trueRange: —
booleanSet this preference to 'true' to forcibly make text wrap to document margins, rather than window boundaries.Default: —Range: —
ShowRulerboolean
booleanSet this preference to 'false' to not show the ruler in rich text documents by default.Default: —Range: —
booleanSet this preference to 'false' to forcibly disable "smart" copy/paste.Default: —Range: —
booleanSet this preference to 'false' to forcibly disable "smart" quotes.Default: —Range: —
booleanSet this preference to 'true' to enable "smart" substitutions for quotes and dashes in rich text documents. Takes effect for newly opened documents and after "Make Plain Text".Default: —Range: —
booleanSet this preference to 'false' to forcibly disable text replacement.Default: —Range: —
integerSet this preference to choose a specific encoding method for opening plain text files, rather than "Automatic".Default: —Range: Unicode UTF-16 (10), Unicode UTF-8 (4), Western Mac OS Roman (30), Western Windows Latin 1 (12), Japanese Mac OS (2147483649), Japanese Shift JIS (2147486209), Traditional Chinese Mac OS (2147483650), Korean Mac OS (2147483651), Simplified Chinese Mac OS (2147483673), Chinese GB 18030 (2147485234)
integerSet this preference to choose a specific encoding method for saving plain text files, rather than "Automatic".Default: —Range: Unicode UTF-16 (10), Unicode UTF-8 (4), Western Mac OS Roman (30), Western Windows Latin 1 (12), Japanese Mac OS (2147483649), Japanese Shift JIS (2147486209), Traditional Chinese Mac OS (2147483650), Korean Mac OS (2147483651), Simplified Chinese Mac OS (2147483673), Chinese GB 18030 (2147485234)
RichTextinteger

Text Default File Format

integerEnable this preference to forcibly apply a default TextEdit file format. By default, TextEdit defaults to rich text - .rtf -, rather than plain text - .txtDefault: —Range: Plain Text (0), Rich Text (1)
booleanEnable this setting for HTML Embedded CSS styling. ex. UseEmbeddedCSS = true == "Embedded CSS" ex. UseEmbeddedCSS = true & UseInlineCSS = false == "Embedded CSS" ex. UseEmbeddedCSS = false & UseInlineCSS = false == "No CSS"Default: —Range: —
booleanEnable this setting for HTML Inline CSS styling. ex. UseInlineCSS = true == "Inline CSS" ex. UseInlineCSS = true & UseEmbeddedCSS = false == "Inline CSS" ex. UseInlineCSS = false & UseEmbeddedCSS = false == "No CSS"Default: —Range: —
booleanSet this preference to 'false' to use the "Strict" HTML or XHTML document type, rather than "Transitional". ex. UseTransiontalDocType = false & UseXHTMLDocType = false == "HTML Strict" ex. UseTransiontalDocType = false & UseXHTMLDocType = true == "XHTML Strict" ex. UseTransiontalDocType = true & UseXHTMLDocType = false == "HTML Transitional" ex. UseTransiontalDocType = true & UseXHTMLDocType = true == "XHTML Transitional"Default: —Range: —
booleanSet this preference to 'false' to use the HTML, rather than the XHTML document type. ex. UseTransiontalDocType = false & UseXHTMLDocType = false == "HTML Strict" ex. UseTransiontalDocType = false & UseXHTMLDocType = true == "XHTML Strict" ex. UseTransiontalDocType = true & UseXHTMLDocType = false == "HTML Transitional" ex. UseTransiontalDocType = true & UseXHTMLDocType = true == "XHTML Transitional"Default: —Range: —
integerBy default, the Window Size width is 90 lines. Enable this setting to change this default window width.Default: —Range: —
authorstring

Default Document Author

stringEnter a default author name for documents.Default: —Range: —
companystring

Default Document Organization / Company

stringEnter a default organization / company for documents.Default: —Range: —