Skip to content

Commit

Permalink
Added: Text.fill property
Browse files Browse the repository at this point in the history
  • Loading branch information
kleber-jg committed Sep 7, 2022
1 parent 1bb92f5 commit 8c7051e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class EditorClass {

// Text
{ name: 'text', typeHint: 'text', data: { rows: 3 } },
{ name: 'fill', typeHint: 'cssColor' },
{ name: 'font', typeHint: 'string' },
{ name: 'fontSize', typeHint: 'number', data: { min: 0, step: 1 } },
{ name: 'fontStyle', typeHint: 'valueList', values: ['normal', 'italic', 'oblique'] },
Expand Down Expand Up @@ -146,6 +147,7 @@ class EditorClass {
title: 'Text',
properties: [
'text',
'fill',
'font',
'fontSize',
'fontStyle',
Expand Down

0 comments on commit 8c7051e

Please sign in to comment.