EditorContent
public struct EditorContent
Defines a content type for Editor
. This may be used to serialize the contents of an Editor
via enumerating through the contents of the Editor
.
-
Type of
EditorContent
Declaration
Swift
public let type: EditorContentType
-
Range within the
Editor
for this contentDeclaration
Swift
public let enclosingRange: NSRange?
-
Name for the content within the Editor. All the content (text and attachments) must have a name. By default, text contained in Editor is considered a paragraph.
Declaration
Swift
typealias Name = EditorContentName