{"id":20244078,"url":"https://github.com/carbonpackages/carbon.backenddocument","last_synced_at":"2025-04-10T20:34:08.831Z","repository":{"id":33113240,"uuid":"152233298","full_name":"CarbonPackages/Carbon.BackendDocument","owner":"CarbonPackages","description":"A small Fusion prototype to create nice only-backend documents","archived":false,"fork":false,"pushed_at":"2025-03-17T17:59:09.000Z","size":729,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T18:25:27.599Z","etag":null,"topics":["backend","carbon","neoscms"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CarbonPackages.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"jonnitto","custom":"https://www.paypal.me/Jonnitto/20eur"}},"created_at":"2018-10-09T10:36:02.000Z","updated_at":"2025-03-17T17:58:56.000Z","dependencies_parsed_at":"2024-11-14T09:12:07.498Z","dependency_job_id":"0f5e8f12-7440-43b7-8aba-d4fa8ca0b010","html_url":"https://github.com/CarbonPackages/Carbon.BackendDocument","commit_stats":{"total_commits":57,"total_committers":3,"mean_commits":19.0,"dds":"0.26315789473684215","last_synced_commit":"84f9c15515a4bd572aa07afc3edd1844463f26d5"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarbonPackages%2FCarbon.BackendDocument","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarbonPackages%2FCarbon.BackendDocument/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarbonPackages%2FCarbon.BackendDocument/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarbonPackages%2FCarbon.BackendDocument/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarbonPackages","download_url":"https://codeload.github.com/CarbonPackages/Carbon.BackendDocument/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290044,"owners_count":21078923,"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":["backend","carbon","neoscms"],"created_at":"2024-11-14T09:11:55.912Z","updated_at":"2025-04-10T20:34:08.811Z","avatar_url":"https://github.com/CarbonPackages.png","language":"CSS","funding_links":["https://github.com/sponsors/jonnitto","https://www.paypal.me/Jonnitto/20eur"],"categories":[],"sub_categories":[],"readme":"[![Latest stable version]][packagist] [![Total downloads]][packagist] [![License]][packagist] [![GitHub forks]][fork] [![GitHub stars]][stargazers] [![GitHub watchers]][subscription]\n\n# Carbon.BackendDocument Package for Neos CMS\n\nTwo small Fusion prototypes to create nice only-backend documents.\n\n| Version | Neos          | Maintained |\n| ------- | ------------- | :--------: |\n| 1.\\*    | 3.3.\\* - 5.\\* |     ✗      |\n| 2.\\*    | 4.\\* - 5.\\*   |     ✗      |\n| 3.\\*    | 7.\\*          |     ✗      |\n| 4.\\*    | 4.3.\\* - 5.\\* |     ✓      |\n| 5.\\*    | 7.\\* - 8.\\*   |     ✓      |\n\n## Installation\n\n`Carbon.BackendDocument` is available via packagist.  \nRun the following command in your site package\n\n```bash\ncomposer require --no-update carbon/backenddocument\n```\n\nThen run `composer update` in your project root.\n\n## Usage of [`Carbon.BackendDocument:Document`]\n\n| Property                      | Default value                         | Description                                                        |\n| ----------------------------- | ------------------------------------- | ------------------------------------------------------------------ |\n| `singleline`                  | `true`                                | If you want to have a non-centric design, set this to `false`      |\n| `content`                     | `null`                                | The content to show                                                |\n| `style`                       | `null`                                | Add additional style to the document                               |\n| `title`                       | `${q(node).property('title')}`        | The title of the document                                          |\n| `namespace`                   | `carbon-backend`                      | The namespace for the css class                                    |\n| `javascripts`                 | `null`                                | Add javscript to the document. Please provide also a `script` tag. |\n| `frontendRedirect.node`       | `${q(documentNode).parent().get(0)}`  | The node where the user get redirected in the frontend.            |\n| `frontendRedirect.statusCode` | `301`                                 | The status code for the redirection                                |\n| `cssVariables`                | `null`                                | Add your own CSS custom properties                                 |\n| `documentStyle`               | Please take a look at the source code | Modify/add/remove styles for the backend docment                   |\n\n## Usage of [`Carbon.BackendDocument:Editable`]\n\nIf you use this prototype on a regular document, the editor has the default styling from `Neos.Neos:Editable`.\nIf you use it on [`Carbon.BackendDocument:Document`], the editor gets the look of an inspector field.\n\nIf a value gets updated, a Javascript event with the name `Carbon.BackendDocument:Editable` gets fired. This event has the following details:\n\n- `element`: the input/textarea/select field\n- `property`: the name of the property\n- `value`: The value of the property\n\n| Property         | Default value               | Description                                                                                                        |\n| ---------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| `node`           | `node`                      | A node instance that should be used to read the property.                                                          |\n| `property`       | `null`                      | The name of the property which should be accessed                                                                  |\n| `type`           | `input`                     | Set the type of editor. For possible values look at the next table                                                 |\n| `options`        | `Neos.Fusion:DataStructure` | Used for type `select` and `radio`                                                                                 |\n| `optionGroups`   | `Neos.Fusion:DataStructure` | Used for type `select`                                                                                             |\n| `label`          | `null`                      | Prepend a label                                                                                                    |\n| `placeholder`    | `null`                      | Overwrite the placeholder from the nodetype definition. This can also be dynamic                                   |\n| `class`          | `null`                      | Add your own CSS class if you want to override some stylings                                                       |\n| `style`          | `null`                      | Add your own style to the root element                                                                             |\n| `includeCSS`     | `true`                      | Inlcude the styling                                                                                                |\n| `inspectorStyle` | `true`                      | If set to `true` and used under [`Carbon.BackendDocument:Document`], the styling will adapt to the inspector style |\n| `fallback`       | `null`                      | Fallback for the frontend if no value is given                                                                     |\n| `editable`       | `true`                      | Switch if the value should be editable                                                                             |\n\nBe aware! If one element on a document has set `includeCSS` to true, this get's included for the whole document.\n\n### Types\n\n| Value    | Description                                                    |\n| -------- | -------------------------------------------------------------- |\n| `input`  | No linebreaks, no tags, but autogrowing textfield              |\n| `select` | Select values, uses `options` and `optionGroups` DataStructure |\n| `radio`  | Select values, uses `options` DataStructure                    |\n| `block`  | Default editor, block style                                    |\n| `inline` | Default editor, inline style                                   |\n\n[packagist]: https://packagist.org/packages/carbon/backenddocument\n[latest stable version]: https://poser.pugx.org/carbon/backenddocument/v/stable\n[total downloads]: https://poser.pugx.org/carbon/backenddocument/downloads\n[license]: https://poser.pugx.org/carbon/backenddocument/license\n[github forks]: https://img.shields.io/github/forks/CarbonPackages/Carbon.BackendDocument.svg?style=social\u0026label=Fork\n[github stars]: https://img.shields.io/github/stars/CarbonPackages/Carbon.BackendDocument.svg?style=social\u0026label=Stars\n[github watchers]: https://img.shields.io/github/watchers/CarbonPackages/Carbon.BackendDocument.svg?style=social\u0026label=Watch\n[fork]: https://github.com/CarbonPackages/Carbon.BackendDocument/fork\n[stargazers]: https://github.com/CarbonPackages/Carbon.BackendDocument/stargazers\n[subscription]: https://github.com/CarbonPackages/Carbon.BackendDocument/subscription\n[`carbon.backenddocument:document`]: Resources/Private/Fusion/Document.fusion\n[`carbon.backenddocument:editable`]: Resources/Private/Fusion/Editable/Editable.fusion\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarbonpackages%2Fcarbon.backenddocument","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarbonpackages%2Fcarbon.backenddocument","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarbonpackages%2Fcarbon.backenddocument/lists"}