ios富文字編輯器,到底該用哪個?

2021-07-25 06:58:42 字數 493 閱讀 8791

我一直在搜詢乙個ios上最好用的富文字編輯器,主要兩種實現方法:

1.基於webview

zssrichtexteditor(github)

2.基於coretext

1>dtrichtexteditor

dtrichtexteditor--->dtcoretext---->coretext

我現在的專案就是用的這個庫

注:dtcoretext:只能顯示富文字,但是不能編輯!非常常用呀!聊天頁面的**混排一般都是用的它!

2>omni group text editor

3>

fasttextview

4>yytext

國產的,但是估計沒國外的好用,我比較崇洋媚外吧

最後:如果只是顯示富文字,而不編輯,可以直接用uitextview,webview,當然我還是覺得dtcoretext更好一些。如果你想直接用原生自帶的coretext庫,勸你還是放棄吧,坑太多,不要重複造輪子。

富文字編輯器

關於使用富文字編輯器的一些小坑 官網 1.專案 片 editor fail function xhr,editor,result custominsert function insertimg,result,editor this.editor.create this.editor.txt.html...

富文字編輯器

富文字編輯器,rich text editor,簡稱 rte,它提供類似於 microsoft word 的編輯功能。常用的富文字編輯器 kindeditor ueditor ckeditor 在頁面中新增js 用於初始化kindeditorallowfilemanager 是否允許瀏覽伺服器已上傳...

富文字編輯器

富文字編輯器,rich text editor,簡稱 rte,它提供類似於 microsoft word 的編輯功能。常用的富文字編輯器 kindeditor ueditor ckeditor 在頁面中新增js 用於初始化kindeditor allowfilemanager 是否允許瀏覽伺服器已上...