We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have been trying to set a custom figcaption in this way
attrs["content"]= ` <video data-trix-mutable="true" class="trix-video" width="100%" height="auto" data-trix-store-key="${trixStoreKey}" controls src="${responseData.url}"> </video> <figcaption class="attachment__caption"> <span class="attachment__name">${attachment.file.name}</span> <span class="attachment__size">${attachment.getFormattedFilesize()}</span> <a href="${responseData.url}" target="_blank" class="trix-download-link"> Download </a> </figcaption>`
But for some reason when the it renders it keeps the figcaption generated by trix
How can I add content to that figcaption generated by trix?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Details
I have been trying to set a custom figcaption in this way
But for some reason when the it renders it keeps the figcaption generated by trix
How can I add content to that figcaption generated by trix?
The text was updated successfully, but these errors were encountered: