cswendrowski / FoundryVTT-Custom-CSS

Allows a user to setup custom CSS rules in a FoundryVTT world
GNU General Public License v3.0
11 stars 9 forks source link

Typing direction fixed in the left of the line #27

Open igorteuri opened 9 months ago

igorteuri commented 9 months ago

image

Hi there!

I have this issue with the typing direction. I can't type the code properly because it always insert new characters in the left of the line, image

Tried with no modules enabled, different systems, and different computers, the error persist. In order to get it to work, I need to type the code in an external text processor and then paste it in the Custom CSS.

This behavior occurrs in both text fields (global and user styles)

zeel01 commented 9 months ago

Odd, the rendering of the editors is handled by a 3rd party library. It might have something to do with the use of fonts that aren't fixed-width, or in some way unusual, as it appears you have in the screenshot. Can you make sure that you have nothing, including the custom CSS itself, that would alter the font that the Custom CSS editor is rendering in?