mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
feat(spoiler text添加文档):
This commit is contained in:
@@ -86,6 +86,7 @@ const NotionPage = ({ post, className }) => {
|
||||
}, [post])
|
||||
|
||||
useEffect(() => {
|
||||
// Spoiler文本功能
|
||||
if (SPOILER_TEXT_TAG) {
|
||||
import('lodash/escapeRegExp').then(escapeRegExp => {
|
||||
Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user