-
April 22nd, 2019, 17:06 #1
How to add new line in story or table fields?
How do I add lines WITHIN a cell for a table (CTRL+6), or within a single story element (CTRL+3)?
I have seen this in a table an officially released module; not sure about stories. I searched the wiki, can't seem to find an example of how to do it. Does it require manually editing the XML?
"Enter" adds a new row within tables, and takes you out of a story box.
Examples:
For tables, I want:
1 Monster A
Monster B
Monster C
Monster D2 Monster E
instead of:
1 Monster A, Monster B, Monster C, Monster D 2 Monster E
or:
1 Monster A Monster BMonster CMonster D2 Monster E
And, for Story I want:
Poem line 1,
Poem line 2,
Poem line 3.
instead of:
Poem line 1, Poem line 2, Poem line 3.
or:
Poem line 1,
Poem line 2,
Poem line 3.
Any ideas?
Thanks!Join my DCC RPG Road Crew via Fantasy Grounds! info @ https://www.indygaming.com/roadcrew/
"Why do squares have more sides than triangles?"
-
April 22nd, 2019, 17:50 #2
- Join Date
- Jan 2014
- Location
- California
- Posts
- 1,564
Right click and add table
1 [Control-Tab] Monster A [Enter]
[Control-Tab] Monster B [Enter]
[Control-Tab] Monster C [Enter]
[Control-Tab] Monster D [Enter]
2 [Control-Tab] Monster E [Enter]
-
April 22nd, 2019, 18:19 #3
For the tables you are limited to one line per cell unless you have a bunch of text which will get formatted just like a paragraph. So you can't have a one cell to the left and then multiple single lines in the next cell. So you can't have what you are looking for in your first picture.
For line breaks inside a chat frame you are going to have to go into the XML and add those in manually. Add at the end of each sentence that you want a line break.If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
April 22nd, 2019, 20:23 #4
Anytime you want to force a line break, you have to edit the XML and add an ASCII 13 character. Like for your first table example, you'd do:
(I haven't figured out how to correctly escape ASCII codes in BBCODE yet, so substitute these "#13" for the actual ASCII 13 code)
Code:<td>Monster A#13Monster B#13Monster C#13Monster D</td>
Code:<p>Poem line 1,#13Poem Line 2,#13Poem line 3</p>
Code:<frame>Boxed Text Paragraph 1 Lorem ipsum dolor sit amet, no usu natum efficiendi. At cum malorum oportere, causae dolorum pri id. Nec vituperata efficiendi ad, eu cum hendrerit scriptorem, sea ex elitr consul. Malorum nostrum antiopam ea sit, id mazim aperiam vix. Liberavisse signiferumque has ad. Ex quo detraxit tincidunt, blandit prodesset argumentum ea sit.#13#13Boxed Text Paragraph 2 Et sit paulo epicurei honestatis, cu quot nulla perfecto vim, eros atomorum scripserit mel at. Nec cu ferri timeam assueverit, his te partem latine expetendis, ius erroribus instructior in. Id sed hendrerit omittantur, no pro habeo constituto conclusionemque, et his periculis reprimique eloquentiam. Adhuc temporibus pro at, ad everti hendrerit definiebas nam. Vero prima quaestio eam ne. Iusto signiferumque cu usu.</frame>
Last edited by Talyn; April 22nd, 2019 at 20:37.
-
April 22nd, 2019, 20:37 #5
 works both as a line break for tables and for story (when entered manually into the aXML). Since I'm not experienced with XML, I found a few different codes when searching, this is the only one that's worked
[Edit] Correction: for chat, it shows the way I intend within the text a story page, but when I click the message bubble, it only outputs the first line into the chat box.
Also - Sorry, I posted this probably right when the prior post was placed. Thanks, I'll check this out next!Last edited by TheSwartz; April 22nd, 2019 at 20:54.
Join my DCC RPG Road Crew via Fantasy Grounds! info @ https://www.indygaming.com/roadcrew/
"Why do squares have more sides than triangles?"
-
April 22nd, 2019, 21:02 #6Join my DCC RPG Road Crew via Fantasy Grounds! info @ https://www.indygaming.com/roadcrew/
"Why do squares have more sides than triangles?"
-
June 9th, 2020, 04:15 #7
tried to solve this without XML, didn't find a way.
Last edited by Elihu; June 9th, 2020 at 04:39.
-
June 9th, 2020, 07:06 #8Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
May 29th, 2021, 12:53 #9
Well... I do not know if this will help, but it is seemingly working for me: try to copy the text from a simple text editor (e.g., Notepad) and paste it in a table cell.
-
October 6th, 2021, 04:09 #10
- Join Date
- May 2016
- Posts
- 522
If I understand the original post (I realize it is an old post), the table and story wishes can be accomplished with shift-enter when you want a new line but not a new row. This inserts a soft return rather than a hard return. This can also be used in almost all text entry fields (maybe all) in FG and most other programs in windows. I don't know if OSX/Linux does the same.
Jason
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks