{"id":16994937,"url":"https://github.com/jackadams/meteor-editable-text-froala","last_synced_at":"2026-05-10T19:43:42.174Z","repository":{"id":76998547,"uuid":"57436639","full_name":"JackAdams/meteor-editable-text-froala","owner":"JackAdams","description":"Integration of Froala editor with babrahams:editable-text widget","archived":false,"fork":false,"pushed_at":"2022-11-22T08:00:06.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T06:29:04.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JackAdams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-30T10:04:55.000Z","updated_at":"2023-08-28T17:50:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd06077e-95a3-4e3c-b048-66029aff13a3","html_url":"https://github.com/JackAdams/meteor-editable-text-froala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackAdams%2Fmeteor-editable-text-froala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackAdams%2Fmeteor-editable-text-froala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackAdams%2Fmeteor-editable-text-froala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackAdams%2Fmeteor-editable-text-froala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackAdams","download_url":"https://codeload.github.com/JackAdams/meteor-editable-text-froala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913005,"owners_count":20530769,"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-10-14T03:47:07.362Z","updated_at":"2026-05-10T19:43:37.115Z","avatar_url":"https://github.com/JackAdams.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Froala editor extension for babrahams:editable-text package\n-----------------------------------------------------\n\n[//]: # (Example app: [http://editable-text-demo.taonova.com](http://editable-text-demo.taonova.com))\n\n[//]: # (Example app repo: [https://github.com/JackAdams/editable-text-demo](https://github.com/JackAdams/editable-text-demo))\n\n#### Quick Start\n\n\tmeteor add babrahams:editable-text-froala\n\t\n(the Froala editor will get added automatically)\n\nYou can then drop an editable text widget into any Blaze template as follows:\n\n\t{{\u003e editableText collection=\"posts\" field=\"text\" editor=\"froala\"}}\n\t\nwhere \"posts\" is the name of the mongo collection and \"text\" is the name of a field in documents from the `posts` collection.\n\n`collection` and `field` are mandatory parameters (and so is `editor=\"froala\"` if you want the user to be able to edit the `text` field with the Froala editor).\n\nNote: The widget assumes that the data context is that of a single document from the `posts` collection (with an `_id` value included).\n\nYou can also set the data context explicitly as follows:\n\n    {{\u003e editableText context=singlePostDocument collection=\"posts\" field=\"body\"}}\n\nwhere `singlePostDocument` can be a single document from the `posts` collection which is already set in the current context, or it can be provided by a template helper from the template that the widget was dropped into.\n\n(You can use `document`, `doc`, `object`, `obj`, `data` or `dataContext` instead of `context` - go with whichever you prefer.)\n\n#### Documentation\n\nRead the [full documentation](https://github.com/JackAdams/meteor-editable-text#editable-text-for-meteor) for the `babrahams:editable-text` package at [https://github.com/JackAdams/meteor-editable-text](https://github.com/JackAdams/meteor-editable-text).\n\nNote: there is currently only limited support in this package for the babrahams:editable-text API\n\nThe `babrahams:editable-text` widget params that are supported (so far) with the Froala editor are: `class`, `style` and `acceptEmpty`.\n\nYou can set default Froala editor options for this widget using `EditableText.defaultFroalaOptions`. E.g.\n\n```\nEditableText.defaultFroalaOptions = {\n  enter: $.FroalaEditor.ENTER_DIV\n}\n```\n\nYou can also set Froala editor options on a per-widget basis using `editorOptions=editorOptions` as a widget param, with this in a template helper:\n\n```\nTemplate.myTemplateWithEditorInIt.helpers({\n  editorOptions: function () {\n    return {\n      enter: $.FroalaEditor.ENTER_DIV\n    };\n  }\n});\n```\n\n#### License\n\nThis package is MIT licensed, but note that the Froala Editor (which is a dependency) has its own license. See: [https://www.froala.com/wysiwyg-editor/terms](https://www.froala.com/wysiwyg-editor/terms)\n\nIf you don't get a Froala licence then, in a production app, you'll just see \"Unlicensed Froala Editor\" in a red box instead of the editor.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackadams%2Fmeteor-editable-text-froala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackadams%2Fmeteor-editable-text-froala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackadams%2Fmeteor-editable-text-froala/lists"}