0

I have created a custom block, but there is no option to add content or any body part.

enter image description here

How do I add content to a block?

2
  • Hi, I saw your question in drupalanswers about login in a popup, I don't have any reputation there, so I'll try help with that question. I'm new to drupal 8 too, so, to solve that just put a link with a javascript to render a iframe (src='user/login') and with CSS create a correct style to your popup. Simple and efective - if u correct your question there I can provide more details. By the way, MilianG answer solve this question. Commented Dec 4, 2015 at 12:02
  • I will try your thoughts..then update to you. Commented Dec 4, 2015 at 12:19

1 Answer 1

1

It depends on block type. If you create a block in default type "Basic block" then you'll have one "Body" field for entering the content. But with Drupal 8 you also have ability to create custom block types. With custom block types (and your one is a custom one) you are responsible for adding body fields. So you don't see content field simply because that block type doesn't have one. You didn't add it.

Go to Structure -> Block layout -> Custom block library (tab) -> Types (tab)

... and on that page you can see all block types. You can manage them, add/remove fields etc.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.