Structures icon indicating copy to clipboard operation
Structures copied to clipboard

Modular structures?

Open vintprox opened this issue 9 years ago • 1 comments

Is there a way to make these structure types separated, so we will be able to produce extra-plugins for single purpose, such as Another Gallery, Video or Presentation, out of the box?

  • [ ] Separate structure types (maybe separated php snippets)
  • [ ] Make options to disable certain structure types

These changes may look quite major and revolutional. Do you plan to do them, @donShakespeare? Extra will become much universal and neat.

vintprox avatar Nov 21 '16 16:11 vintprox

@VINTproYKT thanks for the feedback. Each structure type is somewhat already loosely connected to but dominated by the main JS functions.

By default, the structures types can be edited/disabled via st.structures chunk and respective editor functions via st.tinymce_config chunk.

So, yes, you might be able to add another kind of Gallery / Video / Presentation. tinyBlocks.js provides several callbacks to assist in custom needs.

No PHP in the roadmaps, at this point. If you do provide me a concrete plan, I can better explain how to achieve it.

donShakespeare avatar Nov 22 '16 08:11 donShakespeare