Skip to content

Inline editing mode is not respected #229

Description

@AlexanderWagner82

Which Umbraco.Community.BlockPreview version are you using?

5.2.1

Which Umbraco version are you using? For example: 10.4.0 - don't just write v10

17.1

Bug summary

Inline editing mode isn't respected in block list so I have to create empty views in block-folder (with some instruction text so it's not completely white) so I don't get "can't find view"-error.

Image

This is the setup.

options.BlockList = new() { Enabled = true, Stylesheets = ["/dist/main.css"], ViewLocations = [ "/Views/Partials/blocklist/Components/NestedComponents/{0}.cshtml", "/Views/Partials/blocklist/Components/{0}.cshtml" ] };

Steps to reproduce

  1. Create a block list containing one block that doesn't have a view.
  2. Set "Inline editing mode" to true
  3. Create a block in that list and get a "can't find view"-error.

Expected result / actual result

Getting a kind of accordion where you just edit the properties without any preview at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions