{"id":13774168,"url":"https://github.com/DennisSuitters/summernote-templates","last_synced_at":"2025-05-11T06:32:23.381Z","repository":{"id":87646515,"uuid":"108858351","full_name":"DennisSuitters/summernote-templates","owner":"DennisSuitters","description":"Summernote Toolbar Buttons to Add Page and Block Templates.","archived":false,"fork":false,"pushed_at":"2020-12-30T03:58:01.000Z","size":1073,"stargazers_count":20,"open_issues_count":1,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-03T05:09:05.900Z","etag":null,"topics":["addon","newpage","plugin","summernote","template","wysiwyg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DennisSuitters.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-10-30T13:58:35.000Z","updated_at":"2024-05-03T05:09:05.900Z","dependencies_parsed_at":"2024-01-13T11:57:35.147Z","dependency_job_id":null,"html_url":"https://github.com/DennisSuitters/summernote-templates","commit_stats":null,"previous_names":["dennissuitters/summernote-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DennisSuitters%2Fsummernote-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DennisSuitters%2Fsummernote-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DennisSuitters%2Fsummernote-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DennisSuitters%2Fsummernote-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DennisSuitters","download_url":"https://codeload.github.com/DennisSuitters/summernote-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224703869,"owners_count":17355710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addon","newpage","plugin","summernote","template","wysiwyg"],"created_at":"2024-08-03T17:01:24.312Z","updated_at":"2024-11-17T09:30:35.236Z","avatar_url":"https://github.com/DennisSuitters.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Insert"],"readme":"# summernote-templates\nA plugin for the [Summernote](https://github.com/summernote/summernote/) WYSIWYG editor.\n\nsummernote-templates adds the ability to select page layout templates, or with the blocks button add custom template content blocks.\n\nThe plugin in comes with some page templates, and some block templates (for Bootstrap 3). You can however create your own and add them into the existing folders that contain the page, and block templates.\n\n### Installation\n\n#### 1. Include JS\n\nInclude the following code after Summernote:\n\n```html\n\u003cscript src=\"summernote-templates.js\"\u003e\u003c/script\u003e\n```\n\n#### 2. Supported languages\n\nCurrently available in English!\n\n#### 3. Summernote options\n\n````javascript\n$('.summernote').summernote({\n    toolbar:[\n        ['custom',['pageTemplates','blocks']], // Custom Buttons\n        ['style',['style']],\n        ['font',['bold','italic','underline','clear']],\n        ['fontname',['fontname']],\n        ['color',['color']],\n        ['para',['ul','ol','paragraph']],\n        ['height',['height']],\n        ['table',['table']],\n        ['insert',['media','link','hr']],\n        ['view',['fullscreen','codeview']],\n        ['help',['help']]\n    ],\n    templates:{\n        templates: 'page-templates/', // The folder where the templates are stored.\n        insertDetails: false, // true|false This toggles whether the below options are automatically filled when inserting the chosen page template.\n        dateFormat:    'longDate',\n        yourName:      'Your Name',\n        yourTitle:     'Your Title',\n        yourCompany:   'Your Comapny',\n        yourPhone:     'Your Phone',\n        yourAddress:   'Your Address',\n        yourCity:      'Your City',\n        yourState:     'Your State',\n        yourCountry:   'Your Country',\n        yourPostcode:  'Your Postcode',\n        yourEmail:     'your@email.com'\n    },\n    blocks:{\n        templates: 'block-templates/' // The folder where the Block Templates are stored\n    }\n});\n````\n\n#### 4. Check out our other Summernote Plugins via our main Github page.\n- [Diemen Design](https://github.com/DiemenDesign/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDennisSuitters%2Fsummernote-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDennisSuitters%2Fsummernote-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDennisSuitters%2Fsummernote-templates/lists"}