Skip to content

Commit

Permalink
update readme and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pHAlkaline committed Dec 24, 2016
1 parent e4f7215 commit ec2fa33
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/nbproject/private/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Some plugins for the [Summernote WYSIWYG](https://github.com/summernote/summerno
Nugget
-------------

Allow users to insert custom code nuggets into the WYSIWYG.
Allow users to insert custom "nuggets" into the WYSIWYG.

3 changes: 3 additions & 0 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
file.reference.Sites-summernote-plugins=.
files.encoding=UTF-8
site.root.folder=${file.reference.Sites-summernote-plugins}
9 changes: 9 additions & 0 deletions nbproject/project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.web.clientproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
<name>summernote-plugins</name>
</data>
</configuration>
</project>
5 changes: 3 additions & 2 deletions plugins/nugget/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
summernote-nugget
=============

Allow users to insert custom code nuggets into the WYSIWYG.
Allow users to insert custom "nuggets" into the WYSIWYG.


Installation
Expand All @@ -21,8 +21,9 @@ $('#summernote').summernote({
['insert', ['nugget']]
],
template: {
list: [ // list of your template (without the .html extension)
list: [ // list of your nuggets
'[[code nugget 1]]',
'[[code nugget 2]]',
'[[code nugget 2]]'
]
},
Expand Down

0 comments on commit ec2fa33

Please sign in to comment.