fvtt-fria-ligan / twilight2000-foundry-vtt

Official Foundry VTT game system for the Twilight: 2000 (4th Edition) roleplaying game (Free League Publishing)
https://foundryvtt.com/packages/t2k4e
GNU General Public License v3.0
25 stars 9 forks source link

Journal text is formatting incorrectly #130

Closed NENJIBUTSU closed 1 year ago

NENJIBUTSU commented 1 year ago

Describe the bug

The formatting for journal entries in Foundry V10.291 and T2K V10.1.0 seems to be bugging out invariably. The things I've noticed are as follows:

Reproduction

  1. Create a journal entry.
  2. Edit it and add text and/or change the stylings.

System Info

Game Version: Foundry 10.291
System Version: T2K 10.1.0

Client: Foundry Desktop App
OS: Windows

Logs

No response

Priority this issue should have?

Low (formatting issues, things that don't impact operation)

Validations

Stefouch commented 1 year ago

There is an indentation for each paragraph following an other.

  1. Typing ⏎ Enter will create a new paragraph (with the adverse effect to add an indent due to how the styles are coded.
  2. Instead, type ⇧ Shift + ⏎ Enter to create a new line (carriage return) without a new paragraph (html code: <br/>)

Another solution: You can remove that indentation with the Custom CSS module, or edit the HTML code of your journal entry (</> button) like the following:

<p>My first paragraph</p>
<p>My second paragraph with an indent</p>
<p style="text-indent: 0">My third paragraph with no indent</p>
NENJIBUTSU commented 1 year ago

Yeah, I found that it was intentional in the CSS and went ahead and removed it to match up with the style I was going for in my instance.

On Mon, Apr 17, 2023 at 3:08 AM Stefouch @.***> wrote:

There is an indentation for each paragraph following an other.

  1. Typing ⏎ ENTER will create a new paragraph (with the adverse effect to add an indent due to how the styles are coded.
  2. Instead, type ⇧ Shift + ⏎ Enter to create a new line (carriage return) (html code:
    )

Another solution: You can remove that indentation with the Custom CSS module, or edit the HTML code of your journal entry (</> button) like the following:

My first paragraph

My second paragraph with an indent

My third paragraph with no indent

— Reply to this email directly, view it on GitHub https://github.com/fvtt-fria-ligan/twilight2000-foundry-vtt/issues/130#issuecomment-1510893602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZ5XRKAXKBNYPIQYK6W2O3XBT263ANCNFSM6AAAAAAWIYHPME . You are receiving this because you authored the thread.Message ID: @.*** com>