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

Editor markdown does not work correctly #1016

Closed
dmbdesignpdx opened this issue Feb 8, 2022 · 13 comments
Closed

Editor markdown does not work correctly #1016

dmbdesignpdx opened this issue Feb 8, 2022 · 13 comments
Labels
stale Used to mark when there was no activity for a set period of time

Comments

@dmbdesignpdx
Copy link

Hello, there is some kind of bug preventing a user from using the markdown editor as expected (compared to the one in the builtin entry editor).

How it's implemented

Via @contentful/create-contentful-app using the @contentful/app-sdk:

<FieldWrapper
  sdk={sdkRef}
  name={label}
>
  <Field
    sdk={sdkRef}
    widgetId={widget}
  />
</FieldWrapper>

Expected behavior

Builtin entry editor:

Screen.Recording.2022-02-08.at.2.33.46.PM.mov

Actual behavior

FieldWrapper with Field

Screen.Recording.2022-02-08.at.2.18.02.PM.mov

Versions

  • @contentful/default-field-editors: 1.1.2
    • @contentful/field-editor-markdown: 1.1.1
  • @contentful/app-scripts: 0.14.114
  • @contentful/app-sdk: 4.3.1
  • npm: 8.1.2
  • node: 16.13.1

Please let me know if there is anything else I need to provide. Thank you.

@jjagutzke
Copy link

Any update here? I'm experiencing the same problem...

@dmbdesignpdx
Copy link
Author

this behavior still persists when creating a brand new contentful app via @contentful/create-contentful-app@latest.

updated versions:

  • @contentful/default-field-editors: 1.1.16
  • @contentful/app-scripts: 1.1.2
  • @contentful/app-sdk: 4.4.0
  • node: 16.15.0
  • npm: 8.9.0

@github-actions
Copy link

github-actions bot commented Aug 5, 2022

Marking issue as stale since there was no acitivty for 30 days

@github-actions github-actions bot added stale Used to mark when there was no activity for a set period of time and removed stale Used to mark when there was no activity for a set period of time labels Aug 5, 2022
@github-actions
Copy link

github-actions bot commented Sep 5, 2022

Marking issue as stale since there was no acitivty for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Sep 5, 2022
@dmbdesignpdx
Copy link
Author

?

@github-actions github-actions bot removed the stale Used to mark when there was no activity for a set period of time label Sep 14, 2022
@github-actions
Copy link

Marking issue as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Oct 14, 2022
@simomill
Copy link

I have a similar problem. When I use the markdown widgetId with the default-field-editors the markdown is not editable.
If I click on the formatting buttons, I can add text or remove it (temporarily) but my changes are not visible in the editor. The character counter at the bottom is changing, and if I click preview I can see something happens.

@github-actions github-actions bot removed the stale Used to mark when there was no activity for a set period of time label Jan 18, 2023
@github-actions
Copy link

Marking issue as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label Feb 18, 2023
@mata998
Copy link

mata998 commented Mar 23, 2023

This is still happening, did someone find a solution?

@github-actions github-actions bot removed the stale Used to mark when there was no activity for a set period of time label Mar 24, 2023
@filipjovasevic996
Copy link

I've encountered same problem today

@filipjovasevic996
Copy link

I've encountered same problem today

I've resolved this problem by importing import 'codemirror/lib/codemirror.css'. Unfortunately, now i have other issue which is exactly the same like this one #1383

@github-actions
Copy link

github-actions bot commented May 5, 2023

Marking issue as stale since there was no activity for 30 days

@github-actions github-actions bot added the stale Used to mark when there was no activity for a set period of time label May 5, 2023
@YvesRijckaert
Copy link
Contributor

We just released a fix for this issue with @contentful/field-editor-markdown@1.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Used to mark when there was no activity for a set period of time
Projects
None yet
Development

No branches or pull requests

6 participants