mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
page numbering engine
This commit is contained in:
parent
5de856e579
commit
c5c988709d
9 changed files with 198 additions and 26 deletions
|
@ -21,13 +21,14 @@ export default Model.extend({
|
|||
pageType: attr('string'),
|
||||
level: attr('number', { defaultValue: 1 }),
|
||||
sequence: attr('number', { defaultValue: 0 }),
|
||||
numbering: attr('string'),
|
||||
revisions: attr('number', { defaultValue: 0 }),
|
||||
blockId: attr('string'),
|
||||
title: attr('string'),
|
||||
body: attr('string'),
|
||||
rawBody: attr('string'),
|
||||
meta: attr(),
|
||||
|
||||
|
||||
tagName: computed('level', function () {
|
||||
return "h2";
|
||||
// return "h" + (this.get('level') + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue