Skip to content

How to register Google AMP on Mavo, to be editable? #909

Answered by DmitrySharabin
GalinhaLX asked this question in Q&A
Discussion options

You must be logged in to vote

I would suggest trying the experimental mv-edit-as attribute Lea added recently. See her pen as an example: https://codepen.io/leaverou/pen/eYMLovG.

In your case, mv-edit-as="media" should work.

But please keep in mind that if the web component you are using has API different from the standard img element, that won't work.

Anyway, this is an excellent opportunity to test drive the new Mavo feature. 😉

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GalinhaLX
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants