I'm using ckeditor to add a nice text editor using javascript in my website and it is working great, all I need is to add a read more button for it.
You can do this by javascript Where your article renders add javascript there
var article = "article content"
var visible_string = string.substring(0, 1000);// Visible characters 0 to 10000
function viewMore(){
//Replace the element where the content is by .innerHTML property = article
}
and then give them a read more
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.