thanks for your prompt reply.
and if i used the same snippet in more than 1 posts, then in a certain post i update that inserted snippet, will that change be reflected in all instances which exist in other published posts ?
No. Snippets are just like copy/paste but you have a stored list of things to “copy”. Once they’ve been inserted into a post they are indistinguishable from any other content in that post exactly as if you copy/pasted it from elsewhere.
Snippets are just like copy/paste but you have a stored list of things to “copy”
so if i have a particular custom feature to be added in some of my posts, with future updates expected, what do you recommend as the best approach, so that for all future updates, a single modification can have all instances updated as well ( i.e. without having to adjust each posts manually ) ?
@Kevin - thanks for helping out so far. Question: I have seen the video created by you and of course we can create dyanmic HTML snippet right inside the editor and re-use them.
But I want to version them in the code. So I want to create my custom template, render the snippet code inside my .hbs file and as soon as I attach the template inside the ghost CMS editor, I want to immediately load the HTML snippets. Then of course I can edit them and add text etc and publish the page.
Do you think its possible? If you can show a way to do that.
Sorry for digging an old subject but I just tried your method to create a multiple node snippet and when I select all the content using CTRL+A, either I am on a text node and it triggers the blockquote feature or I am on a HTML node and it does nothing…
I also tried to select all content manually with the mouse but cannot select both text & html node.
I succeded in a previous version of Ghost but now it does not work anymore
Ghost version : 5.59.2 with Beta Editor (tried without, not working neither)
While doing the screencast I might have igured out a workaround but it is still not working as expected.
It is strange: the toggle blockquote key shortcut CTRL+Q is only working with CTRL+A on my computers (tested on 2, both using AZERTY as keyboard layout).
That’s why I cannot use CTRL+A to select everything on my page while being on a text node.
However, when I am on a HTML node, doing CTRL+A toggles all text blocks to blockquote BUT also select everything and allow to create a snippet.
I just tried with Chromium and it is not working :/
However the behavor is different: when I hit CTRL+A, it selects everything (at least I think, the HTML nodes are not in a “selected” style = highlited border) even if I am in a text node (it does not trigger blockquote).
But in all cases, usnig CTRL+1 or drag to select, the toolbar does not appear…