Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下文章详情右侧的标题栏怎么做到的 #10

Closed
yzbgyq opened this issue Apr 16, 2019 · 1 comment
Closed

请教一下文章详情右侧的标题栏怎么做到的 #10

yzbgyq opened this issue Apr 16, 2019 · 1 comment

Comments

@yzbgyq
Copy link

yzbgyq commented Apr 16, 2019

我用的也是mavonEditor,但是我想生成你那种文章右侧的标题,该怎么做
image

@alvin0216
Copy link
Owner

这里用了 antd 的 Anchor 组件,需要将 article 的 content 转化为所需的格式,具体构建可以看 views/web/article/navigation.jsx 这个组件

@yzbgyq yzbgyq closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants