{"id":16086685,"url":"https://github.com/astares/seaside-tinymce","last_synced_at":"2025-04-05T14:43:22.010Z","repository":{"id":78114102,"uuid":"252717695","full_name":"astares/Seaside-TinyMCE","owner":"astares","description":"Seaside wrapper for Tiny MCE","archived":false,"fork":false,"pushed_at":"2020-04-13T09:32:11.000Z","size":363,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T11:40:12.729Z","etag":null,"topics":["pharo","seaside"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/astares.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-03T11:50:44.000Z","updated_at":"2020-04-19T20:23:39.000Z","dependencies_parsed_at":"2023-02-25T08:45:15.283Z","dependency_job_id":null,"html_url":"https://github.com/astares/Seaside-TinyMCE","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FSeaside-TinyMCE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FSeaside-TinyMCE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FSeaside-TinyMCE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FSeaside-TinyMCE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astares","download_url":"https://codeload.github.com/astares/Seaside-TinyMCE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353676,"owners_count":20925325,"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":["pharo","seaside"],"created_at":"2024-10-09T13:24:54.984Z","updated_at":"2025-04-05T14:43:21.992Z","avatar_url":"https://github.com/astares.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seaside-TinyMCE\n[Seaside](http://www.seaside.st) wrapper for Tiny MCE Editor\n\n## Project info\n\nThe \"TinyMCE for Seaside\" project provides the [TinyMCE][1] editor libraries for use in Seaside applications.\n\n### Project location\nThe project is located on GitHub at [https://github.com/astares/Seaside-TinyMCE](https://github.com/astares/Seaside-TinyMCE)\n\n### License\nThe Smalltalk code is under MIT License. Note that TinyMCE has an LGPL license.\n\n## Installation\nFirst install Seaside into your [Pharo](http://www.pharo.org) image:\n\n```Smalltalk\nMetacello new\n  baseline:'Seaside3';\n  repository: 'github://SeasideSt/Seaside:develop/repository';\n  load.\n```\n\nNow you can install the packages necessary for TinyMCE by evaluating:\n\n```Smalltalk\nMetacello new\n   baseline:'TinyMCE';\n   repository: 'github://astares/Seaside-TinyMCE:master/src';\n   load\n```\n\n## Run locally\n\nAfter starting the Seaside server you can check out the example at\n\n    http://localhost:8080/tinymce\n    \n    \n![alt text](screen.png \"Screenshot\")\n\n## How to use\n### Add the file library\n\nAs usual you should create a subclass of WAComponent for an own Seaside web application component. To use the library just register it with your Seaside application.\n\n```Smalltalk\nregister\n    |app|\n    app := WAAdmin register: self asApplicationAt: 'tinymce'.\n    app addLibrary: TMCEFileLibrary \n```\n\n### Render the editor component\n\nTo render the editor component you just need a textArea tag in your generated HTML code and modify it to be a TinyMCE Editor using a simple JavaScript. Here is an example Seaside rendering method:\n\n```Smalltalk\nrenderContentOn: html\n\n    html heading: 'TinyMCE Demo'.\n    html form: [ \n        html textArea \n            callback: [ :value | text := value];\n            with: text.\n        html break.\t\n        html submitButton: 'Send to server and display' ].\n        html break; horizontalRule.\t\n        html html: text.\n\n        \"Add the script to run TinyMCE\"\t\n        html script: ' tinymce.init({selector:''textarea''});'\n```\n\nCheck out the [TinyMCE](http://www.tinymce.com) documentation for more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastares%2Fseaside-tinymce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastares%2Fseaside-tinymce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastares%2Fseaside-tinymce/lists"}