{"id":18722097,"url":"https://github.com/muetze42/nova-bbcode-textarea","last_synced_at":"2026-02-14T22:33:52.736Z","repository":{"id":40455503,"uuid":"482364573","full_name":"Muetze42/nova-bbcode-textarea","owner":"Muetze42","description":"With this Nova field you have the Textarea or Text with BBCodes.","archived":false,"fork":false,"pushed_at":"2022-12-24T17:33:39.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T10:18:12.198Z","etag":null,"topics":["bbcode","laravel","laravel-nova","laravel-nova-field","nova-4","nova-fields"],"latest_commit_sha":null,"homepage":"https://novapackages.com/packages/norman-huth/nova-bbcode-textarea","language":"JavaScript","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/Muetze42.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-04-16T21:25:29.000Z","updated_at":"2024-05-20T11:11:24.000Z","dependencies_parsed_at":"2022-08-09T21:00:55.633Z","dependency_job_id":null,"html_url":"https://github.com/Muetze42/nova-bbcode-textarea","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-bbcode-textarea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-bbcode-textarea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-bbcode-textarea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-bbcode-textarea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muetze42","download_url":"https://codeload.github.com/Muetze42/nova-bbcode-textarea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581357,"owners_count":21128155,"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":["bbcode","laravel","laravel-nova","laravel-nova-field","nova-4","nova-fields"],"created_at":"2024-11-07T13:39:52.362Z","updated_at":"2026-02-14T22:33:52.690Z","avatar_url":"https://github.com/Muetze42.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Textarea- \u0026 Text field with BBCodes\nQuickly developed. Short tutorial.  \n\nWith this Nova field you have the _Textarea_ or _Text_ with _BBCodes_.  \n\n(Tested with Nova 4)\n\n## Install\n```\ncomposer require norman-huth/nova-bbcode-textarea\n```\n\n## Usage\n```php\n\nuse NormanHuth\\BBCode\\BBCode;\n\nBBCode::make(__('Name'), 'name')-\u003ecodes([\n    '{author}' =\u003e __('This code insert the author'),\n    '{date}' =\u003e __('This code insert the date'),\n]),\n```\nOr Text Field:\n```php\n\nuse NormanHuth\\BBCode\\BB;\n\nBB::make(__('Name'), 'name')-\u003ecodes([\n    '{author}' =\u003e __('This code insert the author'),\n    '{date}' =\u003e __('This code insert the date'),\n]),\n```\n\n### Don't always show the content of textarea fields inside Nova\n```php\nBBCode::make(__('Name'), 'name')-\u003ecodes([\n    '{author}' =\u003e __('This code insert the author'),\n    '{date}' =\u003e __('This code insert the date'),\n])-\u003ealwaysShow(false),\n```\n\n### Change button class\n```php\nBBCode::make(__('Name'), 'name')-\u003ecodes([\n    '{author}' =\u003e __('This code insert the author'),\n    '{date}' =\u003e __('This code insert the date'),\n])-\u003ebtnClass('px-2 bg-white-200 text-dark-800'),\n```\n\n### Add inline style to the button\n```php\nBBCode::make(__('Name'), 'name')-\u003ecodes([\n    '{author}' =\u003e __('This code insert the author'),\n    '{date}' =\u003e __('This code insert the date'),\n])-\u003ebtnStyle('margin-bottom: 1rem'),\n```\n\n[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)\n[![Woman. Life. Freedom.](https://raw.githubusercontent.com/Muetze42/Muetze42/2033b219c6cce0cb656c34da5246434c27919bcd/files/iran-banner-big.svg)](https://linktr.ee/CurrentPetitionsFreeIran)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fnova-bbcode-textarea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuetze42%2Fnova-bbcode-textarea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fnova-bbcode-textarea/lists"}