Closed Bug 1433994 Opened 2 years ago Closed 1 year ago
.Next] Make source FTL editor look like a source code editor
We should use the monospace font. We should also consider changing the background and text color.
I quite like how http://projectfluent.org/play/ looks, including the syntax highlighting. Personally I prefer light background for the FTL source editor. It's consistent with the other inputs in the translation UI.
Yeah, the long term plan is to ACE editor or similar in the future. This is just a baby step. :) Agreed about the light background color.
Assignee: nobody → adrian
Summary: [FTL] Make source FTL editor look like a source code editor → [Translate.Next] Make source FTL editor look like a source code editor
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/59c25b86126a73687d973daf09803a54350a641d Fix bug 1433994 - Show an Ace editor for Fluent strings (#1162) When the format of a string to translate is Fluent, render an Ace editor instead of a simple <textarea>. We use Ace as it is better supported with React, and Stas already wrote some plugins to go with it for the Fluent playground, plugins that we reuse here.
You need to log in before you can comment on or make changes to this bug.