All table components in structured FM must be wrapped in elements. If you paste in a table, the elements will be created automatically and use default names, which are likely to be different than defined in the underlying EDD. So, the element tags show in red. You need to either change them all manually or use some kind of scripting. There is no automatic method, unless you use a plugin.
You can speed things up by using the Find dialog. It can search for an element tag and replace it with another. You have to do one tag at a time.
Russ