최근 검색


최근 검색 없음

Content Blocks are not allowed inside any other element



2024년 10월 10일에 게시됨

Content blocks now show up as a <zd-content-block block-id=""></zd-content-block> element in the HTML editor. However, the content-block must be a top-level element. Manually placing it inside a <p>, <div>, etc. is automatically reverted upon applying changes.

 

Having content blocks show up as an element in the HTML view is a big improvement over the prior functionality, but preventing it from appearing inside other elements cuts off a lot of formatting options this change seemingly opened up. We are not able to put a content block inside our toggle or tab extensions from Zenplates, which is specific to us and others who use Zenplates themes, but I can also see myself wanting to put a content block inside common elements like a <div> so I can format the block content in a specific way on one article, but not on all articles the block is linked in.


0

0

댓글 0개

댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물