alloy-editor
alloy-editor copied to clipboard
Issue after updating alloyeditor from 1.5.12 to 1.5.26 / 2.11.2
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.