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

JS Error: sel is not defined #45

Closed
nanohard opened this issue Jul 25, 2018 · 2 comments
Closed

JS Error: sel is not defined #45

nanohard opened this issue Jul 25, 2018 · 2 comments

Comments

@nanohard
Copy link

nanohard commented Jul 25, 2018

The following JS error occurs when editing a blog post or page.
Trying to align the text in left, right, and center alignment causes the error.
Tried selecting the text and also just having the cursor on the line when selecting the alignment.

editable.js:127 Uncaught ReferenceError: sel is not defined
at Object.cleanAlign (editable.js:127)
at HTMLAnchorElement.<anonymous> (editable.js:86)
@kennygrant
Copy link
Contributor

Thanks, do you want to have a go at fixing? If so please do put in a pull request, if not I'll get it fixed soon.

@kennygrant
Copy link
Contributor

Thanks for reporting, I don't use this function much so hadn't noticed it was broken after removing jquery, it was a little more involved than I hoped.

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

No branches or pull requests

2 participants