1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 13:49:42 +02:00

add section and editing experience improvements

1. Introduced velocity.js for animations
2. Resized section type icons
3. Refactored add section code
This commit is contained in:
Harvey Kandola 2017-03-02 20:30:26 +00:00
parent 738aaf82c9
commit be4a95df96
49 changed files with 5752 additions and 150 deletions

View file

@ -201,9 +201,9 @@ func (p *Page) SetDefaults() {
p.ContentType = "wysiwyg"
}
if p.IsTabType() {
p.Sequence = 0
}
// if p.IsTabType() {
// p.Sequence = 0
// }
p.Title = strings.TrimSpace(p.Title)
}