Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

foldStyle type error #1790

Closed
redlpd opened this issue Jan 18, 2023 · 0 comments · Fixed by #1804
Closed

foldStyle type error #1790

redlpd opened this issue Jan 18, 2023 · 0 comments · Fixed by #1804

Comments

@redlpd
Copy link

redlpd commented Jan 18, 2023

Problem

Fold style value error.
Fold style accepts fixed values "markbegin" | "markbeginend" | "manual" but the type is set to boolean
image

Sample code to reproduce your issue

 setOptions={{
        foldStyle: 'manual'
  }}

References

https://ace.c9.io/api/interfaces/Ace.EditSessionOptions.html#foldStyle

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

Successfully merging a pull request may close this issue.

1 participant