You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
We would like a parameter that lets us control the close button color on the Tiny modal on a plugin to plugin basis. The tiny modal appears as a direct child of the body, and not as a child of the plugin (which makes sense), but it means we can't control the style of the close button without affecting other apps that use the modal, or writing javascript to set the style and remove the style when the modal is opened or closed.
Here are two examples of the modal, one with a white background top bar, and the other a dark color top bar. Setting the color of the close button on one, changes it for the other.
After discussing with @zferdana@cschneebeck , we think the best approach would be to add a parameter to the TinyBox. Something like:
TINY.box.show({
closeButtonColor: #fff
})
Open to other suggestions as well.
The text was updated successfully, but these errors were encountered:
We would like a parameter that lets us control the close button color on the Tiny modal on a plugin to plugin basis. The tiny modal appears as a direct child of the body, and not as a child of the plugin (which makes sense), but it means we can't control the style of the close button without affecting other apps that use the modal, or writing javascript to set the style and remove the style when the modal is opened or closed.
Here are two examples of the modal, one with a white background top bar, and the other a dark color top bar. Setting the color of the close button on one, changes it for the other.
After discussing with @zferdana @cschneebeck , we think the best approach would be to add a parameter to the TinyBox. Something like:
TINY.box.show({
closeButtonColor: #fff
})
Open to other suggestions as well.
The text was updated successfully, but these errors were encountered: