Skip to content

Instantly share code, notes, and snippets.

#redactor_modal_overlay, #redactor_modal, .redactor_dropdown {
z-index: 9999 !important;
}
.redactor_editor.redactor_editor_wym h1, .redactor_editor.redactor_editor_wym h2, .redactor_editor.redactor_editor_wym h3, .redactor_editor.redactor_editor_wym h4, .redactor_editor.redactor_editor_wym h5, .redactor_editor.redactor_editor_wym p, .redactor_editor.redactor_editor_wym blockquote, .redactor_editor.redactor_editor_wym pre {
position: relative;
}
.redactor_editor.redactor_editor_wym h1:before, .redactor_editor.redactor_editor_wym h2:before, .redactor_editor.redactor_editor_wym h3:before, .redactor_editor.redactor_editor_wym h4:before, .redactor_editor.redactor_editor_wym h5:before, .redactor_editor.redactor_editor_wym p:before, .redactor_editor.redactor_editor_wym blockquote:before, .redactor_editor.redactor_editor_wym pre:before {
position: absolute;
@pepebe
pepebe / 01-introduction.md
Last active February 2, 2022 10:27
Collections Editors Complete List

1 Introduction

Collections is a handy tool to display the child resources of a parent inside a configurable grid. Each column can get its own configurable editor so you can edit a resource right from the grid.

image Example for a datatime editor

Editors can be attached by editing the collections column settings:

image

@bohwaz
bohwaz / php-8.1-strftime.php
Last active March 20, 2025 11:19
strftime() replacement function for PHP 8.1
<?php
namespace PHP81_BC;
/**
* Locale-formatted strftime using \IntlDateFormatter (PHP 8.1 compatible)
* This provides a cross-platform alternative to strftime() for when it will be removed from PHP.
* Note that output can be slightly different between libc sprintf and this function as it is using ICU.
*
* Usage:
* use function \PHP81_BC\strftime;