This chapter is accompanied by video tutorials :https://www.bilibili.com/video/BV1iU4y1A7MH?p=26
Our blog is here , The basic functional logic has been realized , Now is how to make our blog support rich text editor , You can edit articles through a rich text editor !
A lot of online tutorials are teaching you how to integrate rich text editors through third-party packages , In this way, the function can be realized quickly , But there is no benefit for learning , You just learned to install a package , Then introduce the parameters configured by others , The function is realized , But what is the real internal implementation mechanism ? We still don't know , Personally, I don't think this will help improve .
today , I will take you step by step , Realization Django Inherit the function of rich text editor , See how to add this function to the fields that we need to integrate rich text editor !
Official website address :CKEditor 5 | Powerful Framework with Modular Architecture
1、 Packaged on the official website js file
Click on Online bulider pack
2、 Select the default editor style for packaging