最近搜索


没有最近搜索

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 条评论

请先登录再写评论。

找不到所需的内容?

新建帖子