简体   繁体   中英

How to add CSS and HTML editor in my custom website?

I have a website and already have the admin panel to post, add previlege, etc. And my website is not using any CMS.

The problem is I want to edit my HTML and CSS (like wordpress do) directly from admin area.

Can Javascript / PHP do this?

Please don't suggest another 3rd party to do this. Thank you very much.

That depends on how much customization you want.. If you want to just stylize your posts(typography)

Visit the link mentioned below. https://ckeditor.com/ckeditor-5/

Or if you want to change the whole HTML design layouts, then you'll have to store designs in db, raw html and your css should have styles for them as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM