PayloadKit

TextEdit

com.apple.TextEdit

TextEdit settings

macOS

Configuration Keys (35)

KeyTypeTitle
PFC_SegmentedControl_0required
string
PFC_SegmentedControl_DocSettingsrequired
string
AddExtensionToNewPlainTextFiles

Set this preference to 'false' to forcibly disable adding the ".txt" extension to plain text files.

Default: true

boolean
HTMLEncoding

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)

integer
CheckGrammarWithSpelling

Set this preference to 'false' to forcibly disable grammar checking with spelling.

boolean
CheckSpellingWhileTyping

Set this preference to 'false' to forcibly disable spell checking while typing.

boolean
CorrectSpellingAutomatically

Set this preference to 'false' to forcibly disable automatic spelling correction.

boolean
DataDetectors

Set 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.

boolean
HeightInChars

By default, the Window Size height is 30 lines. Enable this setting to change this default window height.

integer
IgnoreHTML

Set this preference to 'true' to display .html files as HTML code instead of formatted text when opening a file.

boolean
IgnoreRichText

Set this preference to 'true' to display .rtf files as RTF code instead of formatted text when opening a file.

boolean
NSDocumentSuppressTempVersionStoreWarning

Set 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.

boolean
NSFixedPitchFont

Enter 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. ArialMT

stringPlain Text Font
NSFixedPitchFontSize

Enter the desired font size for plain text documents.

integerPlain Text Font Size
NSFont

Enter 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. ArialMT

stringRich Text Font
NSFontSize

Enter the desired font size for rich text documents.

integerRich Text Font Size
PreserveDocumentWhitespace

Set this preference to 'false' to not include code that preserves the white space in your document's formatted text.

Default: true

boolean
ShowPageBreaks

Set this preference to 'true' to forcibly make text wrap to document margins, rather than window boundaries.

boolean
ShowRuler

Set this preference to 'false' to not show the ruler in rich text documents by default.

boolean
SmartCopyPaste

Set this preference to 'false' to forcibly disable "smart" copy/paste.

boolean
SmartLinks

Set this preference to 'false' to forcibly disable "smart" links.

boolean
SmartQuotes

Set this preference to 'false' to forcibly disable "smart" quotes.

boolean
SmartSubstitutionsEnabledInRichTextOnly

Set 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".

boolean
TextReplacement

Set this preference to 'false' to forcibly disable text replacement.

boolean
PlainTextEncoding

Set this preference to choose a specific encoding method for opening plain text files, rather than "Automatic".

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)

integer
PlainTextEncodingForWrite

Set this preference to choose a specific encoding method for saving plain text files, rather than "Automatic".

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)

integer
RichText

Enable this preference to forcibly apply a default TextEdit file format. By default, TextEdit defaults to rich text - .rtf -, rather than plain text - .txt

Range: Plain Text (0), Rich Text (1)

integerText Default File Format
UseEmbeddedCSS

Enable 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"

boolean
UseInlineCSS

Enable 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"

boolean
UseTransitionalDocType

Set 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"

boolean
UseXHTMLDocType

Set 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"

boolean
WidthInChars

By default, the Window Size width is 90 lines. Enable this setting to change this default window width.

integer
author

Enter a default author name for documents.

stringDefault Document Author
company

Enter a default organization / company for documents.

stringDefault Document Organization / Company
copyright

Enter a default copyright for documents.

stringDefault Document Copyright