editor-js / editor-js/embed

Genially custom embed is a no no

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
159
Forks
105
PR merge metrics
No merged PRs in 30d

Description

Long live the devs!

I have designed a custom service to embed genially presentation as following:

`genially: {
regex: /https?:\/\/view.genial.ly\/(\w+)\/?(\w+(-[\w]+)+)?/,
embedUrl: 'https://view.genial.ly/<%= remote_id %>',
html: "

"
}`

Unfortunately there is no joy.

I also introduce a block dynamically by the time I import a record somewhere in the code where I ingest records from a CSV:

` if (id) {
content.blocks.push({
"id": nanoid(10),
"type": "embed",
"data": {
"service": "genially",
"source": `https://view.genial.ly/${id}`,
"embed": `https://view.genial.ly/${id}`,
"caption": title
}
});
}`

And it doesn't show neither.

Is there something slipping my attention or I just bumped into a dodo?

These are typically genially links:

- https://view.genial.ly/60c8e13fb16c270dc0e31d08/presentation-simple-presentation
- https://view.genial.ly/60c77528dd18b30db40f58c3/presentation-umbra-producerea-eclipselor
- https://view.genial.ly/60406bc2ead6200f87f37500
- https://view.genial.ly/601583b91bd3060d78c622f4/presentation-sunetul-caracteristici

thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.