farling42 / fvtt-inline-linktext Goto Github PK
View Code? Open in Web Editor NEWAllows @inlineDocument references in Foundry descriptions
License: MIT License
Allows @inlineDocument references in Foundry descriptions
License: MIT License
Hi!
Can you provide a noob friendly example?
Thank you!
V10 added the ability to link to a section within a page of a journal entry.
The inline should take the next paragraph/sentence after the header to which the link is pointing.
Or "whole document is selected", maybe only that one section should be included?
When trying to use:
@inlineActor[mcnoyziJ3Je4nVoU]{test}
I got this bug:
The issue stems from the fact that the pathfinder 2e actor class is CharacterPF2E and not Actor.
I believe this could be solved by refactoring the code, so that instead of converting the doc type to string it explicitly checks classes like this:
if (doc instanceof Actor) .....
if (doc instanceof Item) .....
Perhaps there is a cleaner way of solving it, though.
Currently it is hard-coded to use "inlineDocument" as the name of the style, which is configured in the provided CSS file.
Provide a module option to specify a different CSS name, so that users can easily adapt their style to something else.
Add a style that has no colouring.
Change the test for if (async)
since that flag is no longer present in V12, the call is always async.
The functionality of this module might be redundant based on the new functionality of the @Embed
tag - although that tag always embeds the entire article - and only works with Journal pages of type 'text' or 'image'.
The first sentence detection doesn't work properly if there is a link in the first sentence, since it simply searches for the first "." and one of those might appear in the @UUID
link within the linked document.
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.