Replacements for WP-Plugins #1334
Replies: 3 comments 6 replies
-
Hi, Both features seems to be quite niche - currently we have no plans for such official plugins. Maybe somebody from the community will built them. Regarding image comparision - you can always use raw HTML mode and implement whatever you need. Also you can consider plugin like: https://marketplace.getpublii.com/plugins/smart-replacer/ to create a custom rule which will get as params 2 URLs to images and then will place them in a proper HTML context with additional HTML syntax and scripts like |
Beta Was this translation helpful? Give feedback.
-
Hi Michael, Footnotes
One of the three Publii editors (the WYSIWYG editor) uses the TinyMCE, and TinyMCE has a footnotes plugin, but it's not free... I'm also not sure which version of TinyMCE Publii uses, and whether that Plugin would be compatible. In any case, footnotes are possible manually, but it does require a few steps. Here's an example: <p>Heading<sup><a href="#footnotes-2">1</a></sup> is a a heading that makes a lot of sense. That said, only use it once.<sup><a href="#footnotes-3">2</a></sup></p>
<hr>
<section class="footnotes">
<ol>
<li id="footnotes-2">This is my footnote</li>
<li id="footnotes-3">This is another footnote</li>
</ol>
</section> Result: This implementation could also work in theory, but I haven't tested it yet across multiple pages: https://codepen.io/SitePoint/pen/QbMgvY?editors=1100 You may also want to consider a footnote JS library which displays the note in context with the content, such as Littlefoot. Image Comparison
Yup, that's what I'd recommend doing in this case, either with the code you shared or another JavaScript library that can be loaded via hosting the JS files or via CDN. There are also ways of making the implementation easier and baking it into a custom theme by extending the WYSIWYG Editor. There isn't official plugins documentation yet, but someone in the former forum started working on some unofficial plugin docs. Maybe those instructions could help you create a plugin, or maybe you could reach out to that person to collaborate on plugins. |
Beta Was this translation helpful? Give feedback.
-
Howdy,
not for the first time I am thinking about switching my blogs from WP to Publii.
I am using footnotes a lot, but haven't seen anything for that yet.
Also I'd love to have image comparison in Publii as well.
I am not a developer, but wouldn't mind editing some files to implement the functionality.
Perhaps like so?
Would be great if someone with the necessary knowledge could turn this into a plugin.
Cheers,
Michael
Beta Was this translation helpful? Give feedback.
All reactions