processChapterContent

open fun processChapterContent(bookId: String, chapterContent: ChapterContent, componentProcessor: ComponentProcessor): ChapterContent

对章节内容中的文本组件进行处理

Return

处理后的章节内容

Since

Api 2

Parameters

bookId

章节所属书本id

chapterContent

需要处理的章节内容

componentProcessor

用于遍历并修改章节内容组件的处理器