Expand my Community achievements bar.

SOLVED

Adding HTML structure through Document based authoring (Google Docs)

Avatar

Level 2

Hi,

I'm building a website using Edge Delivery Services via document-based Authoring (Google Docs). Is there a possibility of adding custom HTML(span tag) in Google Docs (ref image below)?

 

SahilDh1_0-1715842734725.png

 

@arunpatidar 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @SahilDh1 
It is not possible to add span tags like in your example.

you can try creating a block and where you can use p tag and style like span or do some javascript manipulation.

 

or you can explore third party google docs plugin which allows insertion of span 

https://webapps.stackexchange.com/questions/50273/how-to-get-inserted-html-to-render-in-google-docs



Arun Patidar

View solution in original post

4 Replies

Avatar

Community Advisor

@SahilDh1 html tags in EDS end html depend on element you choose for formatting. Generally span tags comes with styling your content.

Avatar

Level 2

@Shashi_Mulugu  the query is about how can we add the HTML tag (eg. Span tag) from the Google Doc itself rather than adding the tag using JavaScript from the code base?

Avatar

Correct answer by
Community Advisor

Hi @SahilDh1 
It is not possible to add span tags like in your example.

you can try creating a block and where you can use p tag and style like span or do some javascript manipulation.

 

or you can explore third party google docs plugin which allows insertion of span 

https://webapps.stackexchange.com/questions/50273/how-to-get-inserted-html-to-render-in-google-docs



Arun Patidar

Avatar

Administrator

@SahilDh1 Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni