schultzcole / fvtt-gm-secret-block Goto Github PK
View Code? Open in Web Editor NEWAdds a type of formatting block to text editors that only GMs can see and edit
License: GNU General Public License v3.0
Adds a type of formatting block to text editors that only GMs can see and edit
License: GNU General Public License v3.0
the words GM Secret tends to be really difficult to see when using dark mode.
It might be possible to resolve this simply by applying contenteditable="false"
to GM secret blocks when the user is not the GM.
This setting would lock it down so that non-gm users can't use any of the existing editor exploits to bypass GM secret blocks by preventing them from opening the editor for descriptions that contain a gm secret block.
To a user that knows what's happening, this would be an instant tip-off that a GM secret exists, however it may be worth it for some GMs who want a bit more assurance that their players can't view secret content.
This might be possible to fix relatively easily by disabling selection of gm secret sections, but that's not guaranteed to work.
Behaviour:
When Polyglot is installed, it seems to override the Paragraph menu options and prevent GM Secret Block from adding the GM Secret option to the Custom menu. This does not break GM Secret blocks themselves, and it only seems to affect areas where Polyglot adds its own list of languages to the text editor options.
Steps to reproduce:
Expected behaviour:
Test environment
Foundry 0.7.9 + DnD5e 1.2.3
GM Secret Block v1.0.0
Polyglot 1.4.0
Is there anyway to get the secret text to output to chat as well? Right now only the non-secret text shows up in chat, but it would be a nice quality of life upgrade for people with the appropriate view permissions to see the secret text in the chat.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.