Make WordPress Themes


Ignore:
Timestamp:
09/05/2024 04:50:55 PM (15 months ago)
Author:
themedropbox
Message:

New version of Blocksy - 2.0.65

Location:
blocksy/2.0.65
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blocksy/2.0.65/static/js/editor.js

    r224954 r241144  
    190190                                        setValues(futureValue)
    191191                                    }}
     192                                    onChangeMultiple={(nextValues) => {
     193                                        // At the moment onChangeMultiple doesnt trigger
     194                                        // updates in the dynamic styles, because we need to adapt
     195                                        // handleMetaboxValueChange to handle multiple values
     196                                        // correctly.
     197                                        // For now this is not needed.
     198
     199                                        const futureValue = {
     200                                            ...(values ||
     201                                                getValueFromInput(
     202                                                    options,
     203                                                    value || {}
     204                                                )),
     205                                            ...nextValues,
     206                                        }
     207
     208                                        onChange(futureValue)
     209                                        setValues(futureValue)
     210                                    }}
    192211                                    value={
    193212                                        values ||
Note: See TracChangeset for help on using the changeset viewer.