mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 01:22:44 +00:00
Add 'editor' property to snippets.js
Add another property to the snippet groups, "editor", with values either "text" or "style".
This commit is contained in:
@@ -14,6 +14,7 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
groupName : 'Editor',
|
groupName : 'Editor',
|
||||||
icon : 'fas fa-pencil-alt',
|
icon : 'fas fa-pencil-alt',
|
||||||
|
editor : 'text',
|
||||||
snippets : [
|
snippets : [
|
||||||
{
|
{
|
||||||
name : 'Column Break',
|
name : 'Column Break',
|
||||||
@@ -129,6 +130,7 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
groupName : 'PHB',
|
groupName : 'PHB',
|
||||||
icon : 'fas fa-book',
|
icon : 'fas fa-book',
|
||||||
|
editor : 'text',
|
||||||
snippets : [
|
snippets : [
|
||||||
{
|
{
|
||||||
name : 'Spell',
|
name : 'Spell',
|
||||||
@@ -208,6 +210,7 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
groupName : 'Tables',
|
groupName : 'Tables',
|
||||||
icon : 'fas fa-table',
|
icon : 'fas fa-table',
|
||||||
|
editor : 'text',
|
||||||
snippets : [
|
snippets : [
|
||||||
{
|
{
|
||||||
name : 'Class Table',
|
name : 'Class Table',
|
||||||
@@ -290,6 +293,7 @@ module.exports = [
|
|||||||
{
|
{
|
||||||
groupName : 'Page',
|
groupName : 'Page',
|
||||||
icon : 'fas fa-print',
|
icon : 'fas fa-print',
|
||||||
|
editor : 'style',
|
||||||
snippets : [
|
snippets : [
|
||||||
{
|
{
|
||||||
name : 'A4 Page Size',
|
name : 'A4 Page Size',
|
||||||
|
|||||||
Reference in New Issue
Block a user