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

Issue after updating alloyeditor from 1.5.12 to 1.5.26 / 2.11.2 #1397

Open
narayanachebolu opened this issue Jun 4, 2020 · 1 comment
Open

Comments

@narayanachebolu
Copy link

narayanachebolu commented Jun 4, 2020

This seems to be more like an issue. Not sure if this is a bug.

We have been using alloyeditor 1.5.12 in our application and it is working fine. After upgrading alloyeditor from 1.5.12 to 2.11.2, it broke and showing me below TypeError message -

Uncaught TypeError: Cannot read property 'link' of undefined
at Object../src/configuration/alloyEditorConfig.js (alloyEditorConfig.js:37)
at webpack_require (bootstrap f39155921a9f9963d321:678)
at fn (bootstrap f39155921a9f9963d321:88)
at Object../src/configuration/index.js (index.js:1)
at webpack_require (bootstrap f39155921a9f9963d321:678)
at fn (bootstrap f39155921a9f9963d321:88)
at Object../src/index.js (index.css?f255:26)
at webpack_require (bootstrap f39155921a9f9963d321:678)
at fn (bootstrap f39155921a9f9963d321:88)
at Object.0 (registerServiceWorker.js:110)
at webpack_require (bootstrap f39155921a9f9963d321:678)
at bootstrap f39155921a9f9963d321:724
at bootstrap f39155921a9f9963d321:724

Here is the line # 37 from alloyEditorConfig.js -

const selectionsLink = {
name: 'link',
buttons: [linkStyles, 'linkEdit'],
test: AlloyEditor.SelectionTest.link --- line # 37
}

Can someone please let me know what could be the fix for this issue.

NOTE: We are using "Google Chrome: 81.0.4044.138 (Official Build) (64-bit) (cohort: Stable); JavaScript: V8 8.1.307.32" browser.

Thanks in advance.

Narayan.

@PetkovBG
Copy link

PetkovBG commented Aug 1, 2024

I ran into the same issue. Did you find a solution @narayanachebolu?

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