[BUG] - Content Component as Angular element - produces the error - properties of undefined (reading 'data-ck-expando')
@jeriah-formio がすでに取り組んでいます。
2024年7月10日 から。
評価
この issue はまだ評価されていません。
説明
Environment
Angular version - 15.2.0
- Hosting type
- [] Form.io
- [X ] Local deployment
- Version:
- Formio.js version:
"@formio/angular": "^5.5.0-rc.11",
"@formio/js": "^5.0.0-rc.27",
- Frontend framework:
- Browser: Chrome
- Browser version: latest
Steps to Reproduce
- Create an angular element - with formio.
- Build the project to generate the javascript and css file and include it in a HTML file.
- open HTML file and try to add content component to the form. Due to the ckeditor the following error occurs. (see video more details.)
sfs-form-designer-element.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'data-ck-expando')
at dr (emittermixin.js:256:9)
at Eu._getProxyEmitter (emittermixin.js:112:39)
at Eu.stopListening (emittermixin.js:86:23)
at Eu.destroy (view.js:492:8)
at viewcollection.js:89:26
at Array.map (<anonymous>)
at dl.map (collection.js:334:22)
at dl.destroy (viewcollection.js:89:8)
at dl.detachFromDom (bodycollection.js:94:9)
at Gl.destroy (editoruiview.js:52:13)
Note the above error occurs only if you export formio as an Angular Element. Regular angular projects work fine.
Expected behavior
Content component should work as expected.
Observed behavior
https://github.com/formio/angular/assets/17984781/b6a90082-5390-48b8-90fb-85224233d653
- 主要言語
- TypeScript
- スター
- 706
- フォーク
- 493
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
formio/angular のほかの issue
-
question
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
[BUG] <form-builder> move icon is missing再び着手できるかも @PrathameshHegde が 99 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptions再び着手できるかも @Victoriya25 が 363 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
area: batch
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
inabagumi/shinju-date#7294 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
streaming-video-technology-alliance/common-media-library#700 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vercel-labs/ui#809 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
KrisCris/village-in-the-shade-guide#75 ·
メンテナーはふだん 1 日以内に返信
-
bot:ai-assisted component:platform-js status:untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
midnightntwrk/platform-js#38 ·