Skip to content

Add renderAVAttribute method to Protyle #13547

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

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

Macavity
Copy link
Contributor

Description

This is an enhancement which allows plugin developers to reuse the amazing rendering function of the AttributeView which has so much functionality hidden in it. There have been plugins which tried to build their own implementation, but the implementation never looked quite right, in my opinion.

The motivation for this is to allow developers to stay close to the current style of SiYuan.

@Vanessa219 Vanessa219 merged commit 26f296a into siyuan-note:dev Dec 20, 2024
1 check passed
@Vanessa219 Vanessa219 added this to the 3.1.17 milestone Dec 20, 2024
@Vanessa219 Vanessa219 self-requested a review December 20, 2024 01:51
Vanessa219 added a commit that referenced this pull request Dec 20, 2024
@Vanessa219
Copy link
Member

renderAVAttribute method belongs to Protyle. After modification, it can be used as follows: protyle.renderAVAttribute

@Vanessa219 Vanessa219 changed the title Add renderAVAttribute to Plugin API Add renderAVAttribute method to Protyle Dec 20, 2024
@Vanessa219 Vanessa219 changed the title Add renderAVAttribute method to Protyle Add renderAVAttribute method to Protyle Dec 20, 2024
@Achuan-2
Copy link
Member

Achuan-2 commented Dec 20, 2024

Thanks for your contribution!❤️

mouyase pushed a commit to mouyase/siyuan that referenced this pull request Feb 28, 2025
mouyase pushed a commit to mouyase/siyuan that referenced this pull request Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants