• Resolved tatof

    (@tatof)


    Hey,

    Updated from 5.8 to 5.9 an now I cant change inline colors.
    Im developing a website for a client with two tone titles. Green + White in one title.

    This update made this imposible. ??

    Can i enable this function somewhere? cant find anything online

    • This topic was modified 2 years, 8 months ago by tatof.
    • This topic was modified 2 years, 8 months ago by tatof.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter tatof

    (@tatof)

    oke my post is marked as spam… anyhow here are some less spammy links:

    This option I need:
    https://devtof.nl/this.png

    To create this:
    https://devtof.nl/this2.png

    you can create color palettes in the theme.json settings. You can also add your own gradient and duotones. You can turn off and on options like color pickers. You can check out the handbook for theme.json. If your theme doesn’t have the file you can simply add it to your configuration. You can create global settings or block-level settings.

    • This reply was modified 2 years, 8 months ago by mrtom414.
    Thread Starter tatof

    (@tatof)

    @mrtom414 thats not what im looking for. I need inline colors. not block colors.

    Its my own build theme and I allready use block colors backround duotones and gradients. The popup with inline colors is gone in this update. need that back.

    And there is nothing about inline colors in the handbook.

    Which block are you looking at to have that option it needs to implement richtext in the block. It is now t going to be in every block. You can do. It in the classical block.

    Thread Starter tatof

    (@tatof)

    The standard wordpress blocks -> Paragraph and Headers h1 h2 etc

    I can change the color but only from the whole block. So its all green or no green.
    I need to change 1 word to green, not the whole block. In the last version that could be done by selecting the word and changing the color. (inline color) That would make an Span with that color applied.

    This option is gone. Can’t change the color of one word.

    here is a demo of what i mean:
    https://devtof.nl/color.mp4

    • This reply was modified 2 years, 8 months ago by tatof.

    If you select the classic block and toggle the menu you can color part of the word because it uses the richtext. The effect you are talking about comes from richtext element of react. To get the h1 … h5,and p tags to do it you would have to rebuild them in an react environment. You can use the classic block which will give you the effect you are looking for.

    Thread Starter tatof

    (@tatof)

    Oke thanks, classic blocks it is :/ Kinda shitty, asking my client to make an H2 in a classic block just to change the color of 1 word.

    So this function is gone? https://devtof.nl/this.png
    thats not the classic block right?

    I don’t know someone might write something that will do it. The nice thing about Gutenberg is that you can create your own blocks. It’s getting easier because there is a node plugin for setting up the environment which consists of 8 to 10 thousand files depending on what you are doing. The RichText editor consumes a lot of resources so placing it in every h tag and p probably wasn’t the be the solution, to begin with.

    Thread Starter tatof

    (@tatof)

    Yeh but the weird part is that it existed! last version had this function. As you can see in my screenshot: https://devtof.nl/this.png

    I dont want to use the richtext editor. just want the old functionality back. 2 sites ive made are “broken” now because of this development.

    So now I need to develop my own Paragraph block just to get the color select back. :’) Also something I dont want to do.. I can’t be the only one right?

    Thread Starter tatof

    (@tatof)

    theme.json found something about highlight color but can’t get any information about it ?? sounds like the solution.

               "core/paragraph": {
                    "color": {
                        "highlight": true,
                    }
    }
    ,
    Thread Starter tatof

    (@tatof)

    Thanks voor your help @mrtom414 I found what I was looking for.. its the drop down list when i select something and then “highlight”. (in dutch its markeren… thats why i couldn’t find it)

    feeling stupid right now.. :/ sorry and many thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Where is the inline color option?’ is closed to new replies.