iOS富文本WYSIWYG編輯器--ZSSRichTextEditor
適用于iOS的富文本WYSIWYG編輯器,支持語法高亮和源碼查看。ZSSRichTextEditor包含所有WYSIWYG標準的編輯器工具。 測試環境:Xcode 6.2,iOS 6.0以上。
// 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=\" Said Studio</a></p>";// Set the base URL if you would like to use relative links, such as to images. self.baseURL = [NSURL URLWithString:@"
// If you want to pretty print HTML within the source view. self.formatHTML = YES;
// set the initial HTML for the editor [self setHTML:html];</pre>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!