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:
parent
738aaf82c9
commit
be4a95df96
49 changed files with 5752 additions and 150 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue