{"id":22468104,"url":"https://github.com/patternslib/pat-raptor","last_synced_at":"2025-03-27T15:43:31.053Z","repository":{"id":28445233,"uuid":"31960580","full_name":"Patternslib/pat-raptor","owner":"Patternslib","description":"A Patternslib pattern for Raptor editor (http://raptor-editor.com)","archived":false,"fork":false,"pushed_at":"2015-12-02T14:39:26.000Z","size":966,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-01T20:06:05.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tj/mon","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Patternslib.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-10T14:02:28.000Z","updated_at":"2015-04-30T20:56:19.000Z","dependencies_parsed_at":"2022-07-25T17:52:46.741Z","dependency_job_id":null,"html_url":"https://github.com/Patternslib/pat-raptor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patternslib%2Fpat-raptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patternslib%2Fpat-raptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patternslib%2Fpat-raptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patternslib%2Fpat-raptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Patternslib","download_url":"https://codeload.github.com/Patternslib/pat-raptor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245873798,"owners_count":20686654,"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":[],"created_at":"2024-12-06T11:15:09.096Z","updated_at":"2025-03-27T15:43:31.033Z","avatar_url":"https://github.com/Patternslib.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pat-raptor\nA [Patternslib](http://patternslib.com) pattern for [Raptor Editor](http://raptor-editor.com)\n\n## The image picker\n\nThis pat-raptor-imagepicker.js file registers an image picker plugin for\nRaptor.\n\nThis plugin uses the inject and modal patterns to render a image picker\npanel/modal, from which you can choose images to insert into the editor.\n\nFor an example of what the HTMl of this modal should look like, look at\n`./examples/panel-image-picker.html`.\n\n## Documentation\n\nProperty | Values | Default | Type | Description\n---------|-------|---------|------|------------\ntoolbar-type | `standard`, `fixed`, `floating` | `standard` | Mutually exclusive | Toolbars may either float, be position statically above the editable content field (standard) or snap to the top of the viewport.\ntoolbar-external | CSS selector | - | CSS selector | CSS selector of the element to which the toolbar should be docked. The element will get wrapped in a `\u003cdiv\u003e` and the toolbar will be prepended inside that div.\nbuttons |  alignCenter, alignJustify, alignLeft, alignRight, cancel, classMenu, cleanBlock, clearFormatting, colorMenuBasic, dockToElement, dockToScreen, embed, floatLeft, floatNone, floatRight, fontFamilyMenu, guides, historyRedo, historyUndo, hrCreate, insertFile, languageMenu, linkCreate, linkRemove, listOrdered, listUnordered, logo, save, snippetMenu, specialCharacters, statistics, tableCreate, tableDeleteColumn, tableDeleteRow, tableInsertColumn, tableInsertRow, tagMenu, textBlockQuote, textBold, textItalic, textSizeDecrease, textSizeIncrease, textStrike, textSub, textSuper, textUnderline, viewSource |alignCenter, alignJustify, alignLeft, alignRight, historyRedo, historyUndo, hrCreate, linkCreate, linkRemove, listOrdered, listUnordered, tableCreate, textBold, textItalic, textStrike, textUnderline | Comma separated multi value\nconfig | | `{}` | `JSON` | You can directly configure Raptor by passing in a JSON object here. These values will be passed directly to Raptor. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatternslib%2Fpat-raptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatternslib%2Fpat-raptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatternslib%2Fpat-raptor/lists"}