Hello,
I am looking to create an update that will include information from a TinyMCE generated html. My app has a textarea where I can add some text formating (works with no problem) but also embedded images (copy and then paste into the text area).
The html being used:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAABmCAIAAAA8m38YAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO2dd2AUxfv/n5ndu0su9UhCCgkhAkoNRZoapAsiNQk9BBCVIILtAx8LiooiVjAgIKKoIEiNoUoJXQTUHx0pAQIkIaSTXJK7252Z3x+TLMddEgJSvt/7zuuvy+3uzDPlPfPMM7MXxBgDgUDwvx/8oA0QCAR3ByFmgcBFEGIWCFwEIWaBwEUQYhYIXAQhZoHARRBiFghcBCFmgcBFkB+0Af+nYYwhhNLSLm3YuEmWZEKJj7f30KGDZVm0i+C2EZ3mQUIplSTpYlrakqXLVUWRJMlk8h00KFZoWXAHCDf7… [cropped]
However, I am getting back a parse error:
{“errors”:[{“message”:“Parse error on \”/\" (error) at [1, 78]",“locations”:[{“line”:1,“column”:78}]}],“account_id”:
Note that TinyCME is converting the image with base64. When I don’t add the embedded image, I get success.
Is there a limitation using embedded images? Is there an alternative?
Thanks.