When I am adding a new empty line in a Sharepoint document it is taking as a section. Is this an expected behaviour?
Also when adding a new empty line inside any default blocks like column, cards it is getting truncated and not visible on preview of the doc. Is anyone come across this?
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @AshwiniSathe1
New line would not be considered as section but it may be a new line and your block may treated that differently.
It in the block.js that basically parse all the element in HTML markup and arrange in predefined layout based on block.js logic.
So please change cards.js logic to accommodate new line.
@arunpatidar I am talking about the new line in default content like text, heading there it is taking a section even if horizontal line/ 3 dashes not there.
And for the blocks it is truncating. Also where can we find the block.js?
You can check the various blocks at
https://github.com/arunpatidar02/aem-helix-1/tree/main/blocks
You can check authoring details at https://www.aem.live/docs/authoring
Can you check for which blocks are you seeing this issue?
@arunpatidar This is behaviour I have seen in Columns, cards block for the truncating the new line.
Views
Replies
Total Likes
Hi @AshwiniSathe1
I have tried with google doc, I don't see new section has been added, you can check below link
https://main--aem-helix-1--arunpatidar02.hlx.page/blocks/cards
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies