Improve priority order#62
Merged
andrew-worsfold merged 1 commit intoEnclavely:masterfrom Oct 22, 2016
Merged
Conversation
andrew-worsfold
added a commit
that referenced
this pull request
Oct 30, 2016
* Added - Support for desktop, tablet and mobile settings within all default controls. * Added - Desktop, tablet and mobile options for: margin, padding, border width, width, height, alignment and spacing settings. * Added - Font family and size selection within the Content element editor. * Added - Custom color palettes for colorpickers and the color selector within the Content element editor. * Added - Live previews for a variety of Button, Box, List Item, Grid, Tab and Toggle settings. * Added - Ability to force re-render of element during live preview update. * Improved - Priority ordering for panels, sections and controls [GitHub PR #62](https://github.com/andrew-worsfold/tailor/pull/62). * Improved - Standard input fields now update settings on blur (cf. change/input). * Improved - Custom CSS rule generation logic for a variety of settings. * Improved - Allow horizontal and vertical alignment of grid items with a minimum height even when the grid has collapsed. * Improved - Live preview CSS rule generation. * Removed - Block style option from Button element (use horizontal alignment instead). * Removed - Item spacing setting from Grid element (use padding on Grid Item elements instead). * Fixed - Numbered list items not displaying correctly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently when we add two controls, panels, or sections with the same priority value, the last one will goes to top. To make it ordered correctly the array should be reversed first before sorting.