"New" text element not recognizing settings after latest update

Hi. I’m referring to a post I’m attempting to create. I have copied a snippet of text (that has all formatting removed) into the text element edit space. It looks normal there, but on the page, it appears to be a heavier font than my normal body copy.

I have tried using a preset I created (that has all the appropriate settings), and I have tried manually setting them, but nothing changes. I have cleared cache. I have closed the page and re-opened it.

I have also made sure all the options are selected for cornerstone under settings, just in case that could be causing the problem.

I’m at my wits end. Please help.

This is specific to when I try to use the “T” option. I just discovered that if I use the </> option, it works, but then I have to add in all my links again. I can see why it might not work initially, but shouldn’t I be able to override any font it might be using when I go back to the settings for the text element?

Hi There @creatorofstuff

Thanks for writing in! Is it possible to provide some steps to reproduce the issue, so that we can test on our end and assist you further. You may also add some screenshots as well.

Thanks!

Hi again. It’s getting weirder and weirder. I went through the steps, creating screenshots all the way, and this time the formatting worked, but the content did not change. I tried multiple times, with multiple paragraphs, all copied and pasted from a text edit file and also a Google doc where all formatting had been removed.

I’ve included these screenshots:
Step 1: I created a text element
Step 2: I pasted the content into the edit area
Step 3: I selected my preset (this time it worked)
Step 4: I realized that the content of the text never changed. This happened consistently over and over.

I don’t see two of my screenshots so I’m adding them here

Hi @creatorofstuff,

I can’t reproduce it on my installation. Perhaps you can provide the following so we could investigate it?

  1. The content being copied and pasted
  2. Site’s URL and admin login credentials in a secure note
  3. A video recording on how to reproduce this issue. You ca use file hosting like Dropbox to upload videos, then just provide the URL where we can view it.

Thanks!

Hi - After playing around with it further, it’s back to the first problem, where the weight of the text element cannot be controlled in the panel on the left in Cornerstone. (The problem mentioned above actually corrected itself when I logged out and logged back in, for some odd reason.)

What is happening is that when you paste in text, it adds a weight of 400 to the text. It’s better shown in the video recording. I’m going to add a secure note…

Hello There,

Thanks for writing in!

Are you referring to this text?

This usually happens when you copy and paste a text especially when the text being copied has a bolder font. This text is having this code:

<p><span style="font-weight: 400;">Not that Phil cared. After all, he figured, they were underwear, and as such, were hidden by his pants. </span></p>

Hope this explains it briefly.

I understand that but I thought that by removing all formatting it would make it basically plain text. Are you telling me that I can’t copy and paste from a plain text document and be able to override the font weight of that text with your editor? I have to literally dig through the code section and remove all of the span tags??? What a pain.

What if there are not options for a text weight that light in the text editor? I don’t get the point of being able to indicate the text weight in the editor if it doesn’t affect it. :no_mouth:

Hello There,

This is not coming from the theme. That is how the copy and paste works in the machine today especially if you are copying from a word document. Windows machine and even MacOS does this. This is literally you copy the text along with its styles and paste it. Sometimes, even the text colors gets copied as well.

I would suggest that when you copy a text from a styled document, you open a text editor like Notepad or TextEdit and paste it there first so that you will see if there are any styling added to the text. And if there is, you only copy the plain text from the text editor before you paste it in WordPress text editor or in Cornerstone’s text element.

Hope this helps.

Thank you! (I guess Google docs doesn’t really remove all formatting, even when it says it does.)

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.