Streaming live at 10am (PST)

Alternative to 5K custom code character limit


#1

I have a table to put on a website, and intended to use embed code, but it has more than 5000 characters (a total of 12,439). How should I put this table?

I do not want to write this whole table by hand.

why you need to have this limit?


HTML Embed cannot exceed 5000 characters
#2

What kinda of data table are you making? Can it be made inside of Google sheets then embedded into your Webflow site?


#3

is a simple table, like this:

<table cellspacing="0" cellpadding="6px"  widht="100%">
  <tr>
    <td><strong>LOJA</strong></td>
    <td><strong>ENDEREÇO</strong></td>
    <td><strong>COMPLEMENTO</strong></td>
    <td><strong>BAIRRO</strong></td>
    <td><strong>MUNICÍPIO</strong></td>
    <td><strong>CEP</strong></td>
    <td align="center"><strong>DDD</strong></td>
    <td align="center"><strong>UF</strong></td>
  </tr>
  <tr>
    <td>LOJA BARRA SHOPPING</td>
    <td>Av. das Américas, 4666</td>
    <td>Barra Shopping - loja 120M</td>
    <td>Barra da Tijuca</td>
    <td>Rio de Janeiro</td>
    <td>22640-102</td>
    <td align="center">21</td>
    <td align="center">RJ</td>
  </tr>

I would like the table had the layout of the site, embed google do it?


#4

I am also having problems with the character limits, especially using the embed widget. I regularly embed a bit of HTML for a product filter (over 5000 characters) on various projects, and would like to keep the HTML structure exactly the same - the best way to do this is using the embed widget.

Somehow, I was able to paste a lot more than 5000 characters before, but not anymore - every time I double click the widget to open up the code editor it now just displays "Custom Code cannot exceed 5,000 characters"


#5

I have the same problem too. Is there anyway to solve it and paste the code with more than 5000 characters.
This is realy strange limitation wich causes a lot of problems for me.
Can anybody solve it?


#6

+1 for this.
Why do we have this 5000 char. Limit?


#7

The embed widget's storage mechanism isn't optimized for large text storage - in the interest of performance we've placed a 5k char limit. If you guys can provide some examples for what you're looking to do with the embed, we'd be happy to help come up with workarounds.


#8

In my stuation:
I'm trying to integrate Project Map to my site and this is looks like page iside of the page. Once webflow let me paste a code with more than 5000 symbols (I don't know how and don't remember when). But now I can't change anything inside of it.
My link: https://preview.webflow.com/preview/okan?preview=e75c4b753d4f11e42899fef7192bee8d


#9

Hi @Kowkin, while the 5k limit is in place, one thing you can do, is to put your custom code in an .js file and host that on dropbox or other host and then link to the javascript file that has more than 20k characters.

In the javascript file, you might need to use some javascript writeln method to write your table out at run-time. If you need an example of this, let me know :slightly_smiling: I am happy to help.

See this article: http://stackoverflow.com/questions/13739568/how-do-i-link-a-javascript-file-to-a-html-file

Here is the wish list for this item: http://forum.webflow.com/t/increase-character-limit-for-embed-widget/10297

I hope this helps !


#10

Thank you, @cyberdave.
I'll try to paste my code like that and if you have example I would like to see how it works alive (I'm really not strong in coding, sorry).
Hope that someday webflowteam will turn that 5k limit off.
Thanks!:wink:


#11

Hi @kowkin, I sent you a direct message.


#12