Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WYSIWIG editors and rich, inline media #376

Open
danielbachhuber opened this issue Jul 6, 2015 · 13 comments
Open

WYSIWIG editors and rich, inline media #376

danielbachhuber opened this issue Jul 6, 2015 · 13 comments

Comments

@danielbachhuber
Copy link
Contributor

One of @samuelsidler's suggestions for Shortcake is:

Inline editing would be really nice. We should see if we can make it the default experience for most shortcodes, and all existing core shortcodes. We should also experiment with content blocks, and see what other editors are doing.

Before we get too far into inline editing, let's see how other editors have solved (or ignored) this problem. Specifically: How do different editorial tools allow for inserting complex blocks of content into the body of a page?

We should look at Medium, Squarespace, Poetica, and any other modern WSYWIG editor we can find.

Some discussion: https://wordpress.slack.com/archives/feature-shortcode/p1436209688000126

This could make a good blog post for Fusion.net.

@mattheu
Copy link
Contributor

mattheu commented Jul 13, 2015

Squarespace

I'll kick this off with a look at the Squarespace editor.

Main page builder has 'regions' that I can select and edit.

image

Selecting the main content reveals a fairly traditional editor.

image

Blocks of content can be inserted between paragraphs.

image

Lots of different blocks available

image

Example of inserting/editing a block. This concept appears to be used for all the modules - some have fairly complex settings options.

image

They use a 'tab' like concept for more complex modules to show/hide fields. The lower tab block is for different versions of similar modules - and can also be added directly from the main module selection view.

image

Layout

I think squarespace used to give you a lot ammount of control over layout, but it seems that this has been dropped in favour of set templates with editable regions.

Thoughts

  • Actually this is all fairly similar to shortcake.
  • Modules are kept as a separate concept from layout.
  • Our modal is a blocking experience - whereas theirs appears alongside. But they don't do true inline editing.
  • They have nicely customized modal UI's for different modules - but essentially similar.
  • Interesting the way they expose a traditional editor in the live preview of the page.

@sdsweb
Copy link

sdsweb commented Jul 13, 2015

The "insert" toolbar is very similar to how we solved it with our Note plugin in the customizer. https://i0.wp.com/conductorplugin.com/wp-content/uploads/2015/05/note-animated-gif.gif?resize=570%2C330

@mattheu
Copy link
Contributor

mattheu commented Jul 13, 2015

Medium

Medium is a super minimal editor experience. Very simple and implementation is super slick. Looks exactly the same as the front end.

Content blocks - these contextual controls show when you add a double line break. You can insert a very limited range of modules - image, video, embed and divider.

image

After it has been inserted there are a few further options. eg Style/Alignment controls show above. Again very limited and the styles are fixed within these options. The caption can be edited inline.

image

Layout.
Layout is defined entirely by theme - with only some alignment options available. However these have been implemented in a really interesting way

Thoughts

  • Contextual - controls show only when/where you need them.
  • Very slick inline editing experience. But options are very limited.
  • love the alignment options. Goes beyond left/right/center/none adding custom styles.

@davisshaver
Copy link
Member

@danielbachhuber Mind clarifying what you want for this issue? Blog post, or structuring/filling gaps in competitive overview, something else?

@danielbachhuber
Copy link
Contributor Author

I think a blog post would make for interesting reading / discussion.

For the purposes of getting Shortcake into core, a feature comparison chart would be helpful.

@davisshaver
Copy link
Member

Thinking about feature comparison chart. I'll use that as basis for a blog post.

@mattheu @danielbachhuber @goldenapples would you mind reviewing below and letting me know what you'd add or change?

  • Non-blocking editing experience (content & meta/options)
  • Inline element controls (meta/options)
  • Inline editing (content)
  • Custom elements
  • Supports non-block/WYSIWYG layout in editor

@danielbachhuber
Copy link
Contributor Author

@davisshaver @mattheu how do you want to wrap this up?

@danielbachhuber danielbachhuber modified the milestones: v0.5.0, v0.6.0 Aug 26, 2015
@ghost
Copy link

ghost commented Sep 2, 2015

Just my twopenny's worth... would MailChimp be a good candidate for comparison here too? I know it's email rather than web, but the concept is the same & it's an ultra-easy editing experience... let me know if you'd like me to contribute.

@mattheu
Copy link
Contributor

mattheu commented Sep 2, 2015

@hexagongirl Yeah would love your contribution. Would love to hear about any interesting ways that this problem has been tackled.

@ghost
Copy link

ghost commented Sep 2, 2015

@mattheu okeydokes, will see if I can pull something together in the form of a blog post

@mattheu
Copy link
Contributor

mattheu commented Sep 25, 2015

Came across a nice looking publishing platform called Atavist

The editor experience is nice and simple. Contextual/Inline controls + content blocks. I thought it was worth writing up and sharing as its similar to how I have imagined shortcake working.

image

An example of selecting a content block. Uses a sidebar to list available blocks, along with a thumbnail/sample image.

image

Editing a block settings also uses the sidebar. They comes with predefined example settings which is quite nice. eg. a couple of images for a slideshow so its already set up and working.

You also get a live preview experience - although this isn't really in the context of the content. Its very slick the way they transition to this view though.

image

Templates. Designs are basically fixed but they allow you to select a few styles for the main title and different section headings.

image

Ultimately - I think its a pretty nice experience. It isn't a huge departure from the concept of the WordPress admin - with an 'admin' view that is separate from the front end + some templates.

The content blocks experience is pretty slick though. Its a fairly similar approach to shortcake in many ways. I do quite like having the form fields alongside the preview rather than having the blocking modal, and the live preview is done well.

@ghost
Copy link

ghost commented Sep 25, 2015

Nice... I like that approach. Reminds me I haven't written up about MailChimp yet. Here goes:

Basic concept is the preview is over the left, with content blocks over to the right. Drag a content block into position to add it:

preview content blocks

Click on any of your added content blocks over the left hand side, and the right hand side turns into a panel with content/styles/settings for that block. You can also re-order, duplicate and delete blocks:

edit block

Content is edited over to the right in the edit panel, rather than directly inline. Despite using MailChimp quite a bit, this still occasionally gets me... I try and click the cursor in the preview section to the left...

editing content

Overall, it's a very easy to use and manageable experience - combining lots of different content types with ease. A combination of this and/or Atavist above would be my WordPress dream 😃

@ghost
Copy link

ghost commented Sep 29, 2015

There's a forum discussion that I started on themehybrid.com that might also be of interest here - mainly as an insight into what some theme developers are thinking/saying:

http://themehybrid.com/board/topics/best-way-to-build-a-complex-home-page-in-wp/
Page 2 (there doesn't seem to be any nav between pages):
http://themehybrid.com/board/topics/best-way-to-build-a-complex-home-page-in-wp/page/2#post-5759

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants