This might initially seem unrelated to the issue title, but please bare with me...
There is this slight WTF (or feature, depending on how one looks at this) with visibility conditions not being available unless the right context is selected. This has made me scratch my head quite a few times before a final aha! moment. Examples include the node/%
context that provides the "Node type" and "node_nid" conditions and the taxonomy/%
and taxonomy/term/%
contexts that provide "Vocabulary" and "taxonomy_term_tid" conditions.
Now, say that for example I want a specific design to be applied in specific terms/vocabularies and in specific nodes or node types. The way to achieve this currently is to create two different layouts, one with a taxonomy context and one with a node context in order to be able to specify those conditions separately. In such situations, we are not offering the option to have a single layout that one can use in both contexts. So the site admin/builder needs to apply the same changes to two (or more) layouts. Tedious UX there.
Add the WTF I mentioned at the start to this and you have really confusing things going on UX-wise.
My question is this: would it make sense to implement any of the below things...
a) Allow multiple contexts to be added to a single layout ...so that multiple visibility conditions become available. This way, we save people from having to create and maintain multiple layouts with the exact design.
b) Allow people to select visibility conditions and have the context be filled in automatically (or present a drop-down with options if there is more than one available). Visibility conditions are easy to grasp contrary to the context thing which is pretty vague to a newcomer. We currently have it so that people need to select the right context in order to allow certain visibility conditions. I feel that it should be the other way around.
c) Perhaps we should replace the "Path" text field in the layout create/edit form with a drop-down. The options would be the most commonly used ones (node/%
, taxonomy/%
, taxonomy/term/%
etc) and there would either be a "Advanced" or "Manual" or "Other" checkbox (or drop-down option) to allow advanced users to manually enter a path.
Thoughts?
Recent comments
@indigoxela and @quicksketch - Thank you. This was the part I was missing. I was not getting the alignment options in the balloon toolbar, because I had not enabled the Float Images...
CKEditor 5 - How to align images
Out of the box: click on the image, then use the balloon toolbar to select alignment: You can also click the Pencil icon to open the image dialog, where the alignment options are also...
CKEditor 5 - How to align images
You seem to be using IMCE, is that correct? A little bit more info about your setup would be helpful, though. Your screenshot looks like it's from Drupal 7 ... Alignment in CKE5 happens...
CKEditor 5 - How to align images