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

Newline in Mapbox Studio Text Field still no worky #9743

Closed
ramz211 opened this issue May 30, 2020 · 1 comment · Fixed by #12377
Closed

Newline in Mapbox Studio Text Field still no worky #9743

ramz211 opened this issue May 30, 2020 · 1 comment · Fixed by #12377

Comments

@ramz211
Copy link

ramz211 commented May 30, 2020

mapbox-gl-js version:

browser: Chrome, firefox, Edge

Steps to Trigger Behavior

  1. Load external multiline geojson file into tileset
  2. Enter a property into Studio Text Field to display that text along line with \n to display text on new lines

Link to Demonstration

This issue/bug has been brought up and closed before without resolution.
#6064
#3179

Expected Behavior

\n in Studio Text Field entries, \n should render as new line
Screenshot_2020-05-29 Studio
Screenshot_2020-05-29 Studio(1)

Actual Behavior

\n Line breaks PREVIEW correctly in Studio, but do not render. After rendering, all text shows on 1 line. In Studio, if you click "Edit Json" it views correctly with the \n , but when you click back to "Edit Value" the \n have all been replaced with blank spaces, and in rendered maps, all text is on 1 line
Screenshot_2020-05-29 Studio(2)
Screenshot_2020-05-29 Monochrome2

@asheemmamoowala
Copy link
Contributor

@ramz211 Thank you for using Mapbox-GL-JS. This issue tracker is for reporting bugs and feature requests to mapbox-gl-js.
What you are describing is an issue with using the Studio editor, which is not within the scope of this project. Mapbox support is the right place to request help with issue pertaining to Studio. Thank you!

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

Successfully merging a pull request may close this issue.

2 participants