Coder Social home page Coder Social logo

fvtt-inline-linktext's Introduction

Welcome

farling42 github stats

Top Langs

fvtt-inline-linktext's People

Watchers

 avatar

Forkers

p4535992

fvtt-inline-linktext's Issues

Example

Hi!

Can you provide a noob friendly example?

Thank you!

V10: Support links to pages and sections within pages

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?

  • Optionally with all sub-sections of that section (e.g. if pointer is to H2, then include all H3/H4/etc. up to the next H2)

Incompatible with systems/modules that override the class of actors, items, etc (e.g. PF2E)

When trying to use:

@inlineActor[mcnoyziJ3Je4nVoU]{test}

I got this bug:

image

image

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.

Provide option to specify CSS class for styling.

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.

V12: enrichHTML is always async

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'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.