Skip to main content

Error when copying and pasting code snippets in text field

  • October 29, 2022
  • 10 replies
  • 88 views

Forum|alt.badge.img+3

Hello, since today I am having a problem that does not allow me to work with Airtable.

When I try to paste a code snippet into a text field of any type the program gives an error and crashes.

I have done this many times before and there have never been any problems…

But today there is no way…

PD:
I’ve tried it on a friend’s account and the same thing happens… I’ve restarted, cleared cache and so on but there’s no way…

10 replies

Forum|alt.badge.img+19
  • Inspiring
  • 3263 replies
  • October 29, 2022

Works fine for me, but I’m not pasting your code, and you didn’t share what you are pasting. I would do that first, and while you’re providing more details, please indicate your OS, browser, version, and your exact copy/paste methodology. Ctrl-C/Ctrl-V? Cmd-C/Cmd-V? Left-click copy? I see that it’s HTML, but I cannot see the field specification - is it a long text field with or without rich formatting?


Forum|alt.badge.img+3
  • Author
  • New Participant
  • 4 replies
  • October 29, 2022

Works fine for me, but I’m not pasting your code, and you didn’t share what you are pasting. I would do that first, and while you’re providing more details, please indicate your OS, browser, version, and your exact copy/paste methodology. Ctrl-C/Ctrl-V? Cmd-C/Cmd-V? Left-click copy? I see that it’s HTML, but I cannot see the field specification - is it a long text field with or without rich formatting?


It’s very strange, today at some moments it has been working fine, but something strange is happening…

I have tried in all the fields, normal text, rich text, in different browsers and with different accounts… Right now it doesn’t work and therefore I can’t continue my work… :frowning:

I leave a video with details of what is happening.Loom | Free Screen & Video Recording Software | Loom

This is an example of a code that gives me an error when copying and pasting…
<a class=“weatherwidget-io” href=“05100 Navaluenga, Ávila, Spain - Weather Forecast” data-label_1=“NAVALUENGA” data-label_2=“Weather” data-theme=“original” data -basecolor=“#222222” data-highcolor=“#f40e0e” >NAVALUENGA Weather


Forum|alt.badge.img+19
  • Inspiring
  • 3263 replies
  • October 30, 2022

It’s very strange, today at some moments it has been working fine, but something strange is happening…

I have tried in all the fields, normal text, rich text, in different browsers and with different accounts… Right now it doesn’t work and therefore I can’t continue my work… :frowning:

I leave a video with details of what is happening.Loom | Free Screen & Video Recording Software | Loom

This is an example of a code that gives me an error when copying and pasting…
<a class=“weatherwidget-io” href=“05100 Navaluenga, Ávila, Spain - Weather Forecast” data-label_1=“NAVALUENGA” data-label_2=“Weather” data-theme=“original” data -basecolor=“#222222” data-highcolor=“#f40e0e” >NAVALUENGA Weather


And yet, it is not the complete text I observed in your video. It looks like you are pasting more than what you provided.

I can’t replicate your problem and since you did not explicitly indicate the steps for copying, from where [exactly] and the steps you used to paste, there’s not much I can do to help figure out this mystery.

I would list the exact steps and the location where the copying is performed so that others here in the community can try it.


Forum|alt.badge.img+3
  • Author
  • New Participant
  • 4 replies
  • October 30, 2022

The problem continues :frowning: :frowning:
I’ll give you more details…

For example when copying from notepad with ctr+c and pasting with ctrl+v the text “

Video of the problem: Loom | Free Screen & Video Recording Software | Loom

To replicate the problem I do this:
1- I write

2- I copy and paste it with ctrl+c and ctrl+v

3 When I paste it for example in a long text field Airtable crash.


Forum|alt.badge.img+3
  • Author
  • New Participant
  • 4 replies
  • October 30, 2022

The problem continues :frowning: :frowning:
I’ll give you more details…

For example when copying from notepad with ctr+c and pasting with ctrl+v the text “

Video of the problem: Loom | Free Screen & Video Recording Software | Loom

To replicate the problem I do this:
1- I write

2- I copy and paste it with ctrl+c and ctrl+v

3 When I paste it for example in a long text field Airtable crash.


I don’t know what happened when I write the < *iframe > tag, that white box appears…

I have done more tests and just writing in a normal text field the text

This didn’t happen to me before but now it won’t let me work…


ScottWorld
Forum|alt.badge.img+35
  • Genius
  • 9808 replies
  • October 30, 2022

I am able to paste very large amounts of HTML code just fine into a long text field.

Note that the long text field has a limit of 100,000 characters.

Otherwise, maybe you have a browser extension that might be interfering with your pasting.


Forum|alt.badge.img+3
  • New Participant
  • 3 replies
  • March 7, 2023

Hi,

I have the same issue, I can't copy/past HTML code into a long text field.
2 days ago, it was working fine.
Now, I always have the same error as @info_turismopor 

I tried on different bases, with or witout App extension, it's the same thing.

Any idea of the issue ? 


Thierry_Gattlen
Forum|alt.badge.img+10

Hello,
I have exactly the same problem of freezing Airtable when pasting code into a long text file.

 I’m building a reference base that explain usage of all scripts/html used in any of my bases.
When copying an html content from a file and trying to past it into a long text field, Airtable freeze !

Trying to copy a code with length of 2225 lines and 87775 characters (complète <html>)→ ❌ freeze
Trying to copy a code with length of 640 lines and 16376 characters (<head>…</head>) → ❌ freeze
Trying to copy a code with length of 639 lines and 16368 characters (<head>…before </head>) → ❌ freeze
Trying to copy a code with length of 61 lines and 1827 characters (part of the file) → ✅ OK

in my opinion, there is a bug in the pasting in long text.




 


Mike_AutomaticN
Forum|alt.badge.img+28

Hey ​@Thierry_Gattlen,

You will probably want to reach out to support@airtable.com to raise this issue/bug.

Mike, Consultant @ Automatic Nation 


Thierry_Gattlen
Forum|alt.badge.img+10

In fact, I have noticed that it is now working … but it took approximately. 20 min. to paste the code in the field.
I have informed the support. Thanks for your help.