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 just tested it and doesn't work
The text was updated successfully, but these errors were encountered:
Sorry, but I do not maintain this lib for a long time...
I suggest you to combine those libraries to do the same functionality:
{ rewrite: (node, index, parent) => { if(node.tagName == "img") { parent.children = [...parent.children, { type: 'element', tagName: "figcaption", // Optional properties: { class: "text-xs" }, children: [ { type: "element", tagName: "small", children: [ {type: 'text', value: node.properties.alt} ] } ] }] } } }
{ selector: 'img', wrapper: 'figure data-img .text-center' }
Sorry, something went wrong.
No branches or pull requests
I just tested it and doesn't work
The text was updated successfully, but these errors were encountered: