Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Courses: Console error with image #6820

Open
jsschf opened this issue Jul 14, 2020 · 3 comments
Open

Courses: Console error with image #6820

jsschf opened this issue Jul 14, 2020 · 3 comments

Comments

@jsschf
Copy link
Member

jsschf commented Jul 14, 2020

If you place an ordered/unordered list after the image:

Annotation 2020-07-13 205328

When you click submit you get the following console error:

Annotation 2020-07-13 205304

It then renders like this:

Annotation 2020-07-13 205347

@jsschf
Copy link
Member Author

jsschf commented Jul 14, 2020

This also occurs with code blocks. I think it may have something to do some of the markdown rendering that gets wrapped around the image.

@paulbert
Copy link
Member

The wonky list + image rendering is a separate issue.

The error is possibly from PouchDB which is used to save drafts of course data as a person is creating the course. Could be a problem if this would result in lost data, but need to find a good way to replicate.

@jsschf
Copy link
Member Author

jsschf commented Jul 14, 2020

It isn't specific to images, it has something to do with editing the description.

https://www.loom.com/share/a9f70a591d6041bd8c7a8758dc036e72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants