Initialize and Configure ZSSRichTextEditor
masterTo use the editor, subclass ZSSRichTextEditor and configure its properties. You can set the base URL for relative links (like images), enable HTML pretty-printing in the source view, and set the initial HTML content.
Key properties:
baseURL: AnNSURLused for resolving relative links.formatHTML: A boolean to enable/disable pretty-printing in the source view.toolbarItemTintColor: Sets the color of the toolbar buttons.toolbarItemSelectedTintColor: Sets the color of the toolbar buttons when selected.enabledToolbarItems: An array ofZSSRichTextEditorToolbar...constants to limit visible buttons.alwaysShowToolbar: A boolean to keep the toolbar visible even when the keyboard is hidden.
```objective-c
// HTML Content to set in the editor
NSString *html = @"<!-- This is an HTML comment -->"
"<p>This is a test of the <strong>ZSSRichTextEditor</strong> by <a title=\"Zed Said\" href=\"http://www.zedsaid.com\">Zed Said Studio</a></p>";
// Set the base URL if you would like to use relative links, such as to images.
self.baseURL = [NSURL URLWithString:@