JimSocks
May 15th, 2021, 18:25
So, if you guys haven't noticed, I have a major Story addiction within FG. I always want MORE POWER.
Along these lines, I would like to take a crack at changing the functionality of how text is input and displayed within a story entry. I would like to make it somewhat like this forum right here- with buttons for formatting, and more formatting options overall. The idea would also be to not interfere with already-existing story entries: NEW entries would have the new functionality available to use and edit, but pre-existing ones would be tagged to function as normal without the new abilities.
Here's a preliminary idea list:
Formatting Toolbar with buttons
Different Header Size Options
A small selection of fonts to choose (standard, old english, treasure map?)
Justification (might be a pipe dream?)
insertion of auto-sizing image assets based on window width (again, might be over-reaching. This is just a proposed wishlist!)
More formatting options (strikethrough, sub/superscript, font color selection)
Possibly adding numbered lists to the bulleted lists already there in-game
I know that typical WYSIWYG text editors use HTML/javascript/.CSS and they are typically translating the input for another format, and that this would be fundamentally different but still striving for the same end result.
So, here's my question:
Master Wizards of FG, is this project even theoretically possible with lua and the current architecture of FGU?
I don't want to start off on a journey only to find out later that asking this question now would have saved me hundreds of hours of time!
Along these lines, I would like to take a crack at changing the functionality of how text is input and displayed within a story entry. I would like to make it somewhat like this forum right here- with buttons for formatting, and more formatting options overall. The idea would also be to not interfere with already-existing story entries: NEW entries would have the new functionality available to use and edit, but pre-existing ones would be tagged to function as normal without the new abilities.
Here's a preliminary idea list:
Formatting Toolbar with buttons
Different Header Size Options
A small selection of fonts to choose (standard, old english, treasure map?)
Justification (might be a pipe dream?)
insertion of auto-sizing image assets based on window width (again, might be over-reaching. This is just a proposed wishlist!)
More formatting options (strikethrough, sub/superscript, font color selection)
Possibly adding numbered lists to the bulleted lists already there in-game
I know that typical WYSIWYG text editors use HTML/javascript/.CSS and they are typically translating the input for another format, and that this would be fundamentally different but still striving for the same end result.
So, here's my question:
Master Wizards of FG, is this project even theoretically possible with lua and the current architecture of FGU?
I don't want to start off on a journey only to find out later that asking this question now would have saved me hundreds of hours of time!