collective / collective.embeddedpage

collective.embeddedpage allows to embed remote HTML pages in Plone.
0 stars 4 forks source link

Volto support (REST API, Plone 5.2) #24

Closed tisto closed 4 years ago

tisto commented 4 years ago
text: {
  "data": "<p>HTML CODE FROM THE EMBEDDED PAGE</p>",
  "content-type": "text/html",
  "encoding": "utf-8"
}
rodfersou commented 4 years ago

@tisto talking with @sneridagh he come up with the idea to just override the text attribute; this way don't need to do anything at the Volto land.

tisto commented 4 years ago

@rodfersou the attribute I pasted above is the text attribute:

text: {
  "data": "<p>HTML CODE FROM THE EMBEDDED PAGE</p>",
  "content-type": "text/html",
  "encoding": "utf-8"
}