{"id":17968157,"url":"https://github.com/samuell1/contenteditor-plugin","last_synced_at":"2025-04-05T07:05:11.891Z","repository":{"id":38416862,"uuid":"55899617","full_name":"Samuell1/contenteditor-plugin","owner":"Samuell1","description":"Edit your content in page - plugin for OctoberCMS","archived":false,"fork":false,"pushed_at":"2024-12-29T09:06:22.000Z","size":249,"stargazers_count":40,"open_issues_count":8,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T06:06:27.103Z","etag":null,"topics":["content","contenttools","editor","javascript","laravel","octobercms","octobercms-plugin","php"],"latest_commit_sha":null,"homepage":"http://octobercms.com/plugin/samuell-contenteditor","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samuell1.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-10T13:10:48.000Z","updated_at":"2025-02-20T06:16:03.000Z","dependencies_parsed_at":"2024-12-29T10:17:25.615Z","dependency_job_id":"19cc4ca5-8de1-4fc2-8beb-c8325752484a","html_url":"https://github.com/Samuell1/contenteditor-plugin","commit_stats":{"total_commits":163,"total_committers":14,"mean_commits":"11.642857142857142","dds":0.5521472392638036,"last_synced_commit":"3d5fbe22447f13bbbdc4f6c37a66fcf1c0468e3b"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuell1%2Fcontenteditor-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuell1%2Fcontenteditor-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuell1%2Fcontenteditor-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuell1%2Fcontenteditor-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samuell1","download_url":"https://codeload.github.com/Samuell1/contenteditor-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299831,"owners_count":20916190,"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":["content","contenttools","editor","javascript","laravel","octobercms","octobercms-plugin","php"],"created_at":"2024-10-29T14:20:22.582Z","updated_at":"2025-04-05T07:05:11.851Z","avatar_url":"https://github.com/Samuell1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"http://octobercms.com/storage/app/uploads/public/579/a5b/cc1/thumb_5108_64x64_0_0_auto.png\" width=\"60px\" valign=\"center\" alt=\"Content Editor for OctoberCMS\"\u003e Content Editor for OctoberCMS\n\nEdit content from front-end.\n\nhttp://octobercms.com/plugin/samuell-contenteditor\n\n\u003cimg src=\"https://octobercms.com/storage/app/uploads/public/5e1/21f/14d/5e121f14dc10a304078423.png\"\u003e\n\n### How to use it? It`s simple.\n\n* Drop the Content Editor component to a CMS page.\n* Check if you have `{% framework %}` and `{% scripts %}` inside layout for working ajax requests and `{% styles %}` for additional css\n* Use this code in your page code and link the editor to a content file or set name to autocreate new file\n\n*Simple example:*\n```twig\n{% component 'contenteditor' file=\"filename_in_content.htm\" %}\n```\n\n##### Properties\n\n* file - Content block filename to edit, optional. If doesnt exists it will autocreate\n* fixture - Fixed name for content block, useful for inline texts (headers, spans...)\n* tools - List of enabled tools, comma separated (for all default tools use `*` or leave empty to get all tools defined in settings of Content Editor)\n* class - Class for element, mostly useful for fixtures\n\n*Example:*\n```twig\n{% component 'contenteditor' file=\"filename_in_content.htm\" fixture=\"h3\" tools=\"bold,italic\" class=\"my-class\" %}\n```\n\n##### Tools list\n\n* `bold`           =\u003e Bold (b)\n* `italic`         =\u003e Italic (i)\n* `link`           =\u003e Link (a)\n* `small`          =\u003e Small (small)\n* `align-left`     =\u003e Align left\n* `align-center`   =\u003e Align center\n* `align-right`    =\u003e Align right\n* `heading`        =\u003e Heading (h1)\n* `subheading`     =\u003e Subheading (h2)\n* `subheading3`    =\u003e Subheading3 (h3)\n* `subheading4`    =\u003e Subheading4 (h4)\n* `subheading5`    =\u003e Subheading5 (h5)\n* `paragraph`      =\u003e Paragraph (p)\n* `unordered-list` =\u003e Unordered list (ul)\n* `ordered-list`   =\u003e Ordered list (ol)\n* `table`          =\u003e Table\n* `indent`         =\u003e Indent\n* `unindent`       =\u003e Unindent\n* `line-break`     =\u003e Line-break (br)\n* `image`          =\u003e Image upload\n* `video`          =\u003e Video\n* `preformatted`   =\u003e Preformatted (pre)\n\n*Inspired by [Editable plugin](http://octobercms.com/plugin/rainlab-editable) and using Content tools editor  http://getcontenttools.com.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuell1%2Fcontenteditor-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuell1%2Fcontenteditor-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuell1%2Fcontenteditor-plugin/lists"}