editor-js/link

Update link from backend response (when redirects)

chiliec opened this issue · 0 comments

For example I entered url http://kripipasta.com/story/9630
It redirects to https://kripipasta.com/story/9630-276-j-kilometr.html

So I want to add url to meta data:

{
    "success": 1,
    "meta": {
        "url": "https://kripipasta.com/story/9630-276-j-kilometr.html",
        "title": "276-й километр",
        "description": "Получилось длинно.\r\nЯ работаю на железной дороге, занимаю должность помощника машиниста тепловоза.",
        "image": {
            "url": "https://kripipasta.com/images/gif/42.gif"
        }
    }
}

And I expect the link to be updated.