• Resolved mw360

    (@mw360)


    Really like the idea behind this – a nice compromise between shortcodes and the generally over-intrusive visual builders (which bring issues of their own) – inserting actual html and creating visual rows/columns for the end user is FAR nicer than having them work directly with shortcodes for this purpose IMO.

    But I have a couple of questions before I can consider using this in a project:

    1) What is the concept behind writing tables into the editor then converting on display? So, the output looks just fine in use – but if plugin removed, the output becomes table based and non-responsive on the front end – mind you, this is still better than most but I’m debating over the concept of having tables to deal with down the road should something happen – maybe I’m missing the bigger picture on this.

    2) I noticed that in order to get the front end output to show columns side by side in the Genesis site we tested it on, ended up applying box-sizing:border-box to the column css. Not a big deal and not really a question but might be nice to provide a plugin option (whether border-box or something else) to address this for those who run into the same issue but don’t understand why.

    3) You mention ability to access shortcodes under ‘add media’… can you explain this further as I’m not seeing this?

    I’m excited to see where this goes as you have a sensible approach to this and understand the need for more intelligent methods of handling layouts in the WP editor – something I’ve been waiting for and I’m sure I’m not the only one 😉 Appreciate your efforts

    https://wordpress.org/plugins/page-builder-sandwich/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    1. We tried various testing for this and ended up in tables. We tried divs first since they were the obvious choice for doing columns, however we would end up injecting a ton of javascript into the editor to make entering text properly. e.g. pressing enter would escape divs normally. Tables on the other hand had great TinyMCE editing capabilities already there, and it even had styling. The only new thing needed was to convert it so that we don’t get tables in the output.

    2. Haven’t used Genesis so I haven’t ran into that. Probably better to incorporate box-sizing: border-box in sandwich.

    I created a new issue for this. Thanks!

    3. Yup! Shortcodes should be available there very soon. So far we are still very early in the page builder industry, but we were so excited about the plugin and we wanted to launch it with just the core page building capabilities first and gradually build on it. In the current version there are no shortcodes yet, although the existing ones (enumerated in the description) already work with the drag and drop stuff.

    We are using Shortcake to be able to create shortcodes right into the visual editor. We’re also contributing there to get things going faster. Right now we are creating interfaces for Jetpack shortcodes since they have a lot of already great ones, and including some of our own that use Bootstrap. We already have some built, but we’re waiting for a pull request to be merged into Shortcake before we release version 0.5 that will have a contact form, google map, portfolio (all from Jetpack) and a toggle shortcode. When added, those would be available via the “Add Media” button.

    Here’s the current progress: https://github.com/gambitph/Page-Builder-Sandwich/issues/17

    Yes, we’re so excited about this too!

    Thread Starter mw360

    (@mw360)

    Sounds good. As far as tables are concerned, they definitely appear to work well for editing so it makes sense, and since they get converted that solves the output. My only thought then falls to the end game: it would be nice if there was some type of export/conversion that could generate or replace the editor content with the DIV version upon leaving the plugin. Just thinking out loud here… 😉

    Will definitely be following you along… thanks much

    That would be a good idea. Although let’s set it as a low priority now 🙂

    I created an issue for this https://github.com/gambitph/Page-Builder-Sandwich/issues/46

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Nice idea, few ?'s’ is closed to new replies.