{"id":15525085,"url":"https://github.com/staabm/rex_codemirror","last_synced_at":"2025-08-05T16:29:17.373Z","repository":{"id":6670206,"uuid":"7914994","full_name":"staabm/rex_codemirror","owner":"staabm","description":"https://github.com/marijnh/CodeMirror2 als Redaxo be_style Plugin","archived":false,"fork":false,"pushed_at":"2013-02-04T21:14:00.000Z","size":2064,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T10:45:35.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staabm.png","metadata":{"files":{"readme":"README.textile","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}},"created_at":"2013-01-30T13:23:35.000Z","updated_at":"2014-06-13T07:51:31.000Z","dependencies_parsed_at":"2022-08-28T03:51:12.007Z","dependency_job_id":null,"html_url":"https://github.com/staabm/rex_codemirror","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/staabm/rex_codemirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frex_codemirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frex_codemirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frex_codemirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frex_codemirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staabm","download_url":"https://codeload.github.com/staabm/rex_codemirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frex_codemirror/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960542,"owners_count":23236574,"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-02T10:54:33.958Z","updated_at":"2025-06-25T22:06:31.541Z","avatar_url":"https://github.com/staabm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"h2. rex_codemirror\n\nhttps://github.com/marijnh/CodeMirror2 als Redaxo be_style Plugin\n\nh2. Anwendung\n\nh4. Codemirror für Textareas aktivieren\n\n*Pauschal* für alle Textareas einer backend page aktivieren: key der Redaxo backend page(subpage) in die Settings eintragen\n*Individuell* für eine Textarea: CSS Klasse @rex-codemirror@ vergeben\n\nh4. Fullscreen Modus\n\nDurch drücken der @F11@ Taste wird die Codemirror Textarea auf den gesamten viewport erweitert.\nNochmaliges drücken von @F11@ oder @Esc@ stellt die normale Darstellung wieder her.\n\nh4. Individueller FoldMode\n\nIn den Settings ist als default der foldmode @tagRangeFinder@ definiert.\nUm gezielt für eine Textarea einen anderen foldmode zu aktivieren, muß dieser per @data-attribute@ angegeben werden:\n\nbc. \u003ctextarea class=\"rex-codemirror\" data-foldmode=\"braceRangeFinder\"\u003e...\u003c/textarea\u003e\n\nh2. Settings\n\nDas Plugin hat ein sinnvolles Set an default Einstellungen definiert welche in den meisten Fällen ausreichend sein sollten.\nWill man dennoch Einstellungen ändern sind diese direkt in der Datei @config.inc.php@ vorzunehmen:\n\n\u003cpre lang=\"php\"\u003e\u003ccode\u003e// SETTINGS\n////////////////////////////////////////////////////////////////////////////////\n/* THEMES:\n * ambiance, blackboard, cobalt, eclipse, elegant, erlang-dark,\n * lesser-dark, monokai, neat, night, rubyblue, vibrant-ink, xq-dark,\n * custom: jdlx\n */\n$REX[$mypage]['settings'] = array(\n  'theme'          =\u003e'jdlx',\n  'keys' =\u003e array(\n    'enter_fullscreen' =\u003e 'F11',\n    'leave_fullscreen' =\u003e 'Esc',\n    ),\n  // AUTOENABLED BACKEND PAGES - ANY TEXTAREA WILL GET CODEMIRROR\n  'autoenabled_pages' =\u003e array(\n      array('page'=\u003e'template'),\n      array('page'=\u003e'module'),\n      array('page'=\u003e'xform', 'subpage'=\u003e'email'),\n      array('page'=\u003e'xform', 'subpage'=\u003e'form_templates'),\n    ),\n  // TRIGGER CLASS - WILL ENABLE CODEMIRROR OUTSIDE AUTOENABLED PAGES\n  'trigger_class' =\u003e 'rex-codemirror',\n  'foldmode'        =\u003e'tagRangeFinder', // @html: tagRangeFinder, @php: braceRangeFinder\n  );\u003c/code\u003e\u003c/pre\u003e\n\nh2. Screenshots\n\nh5. Backend Page Templates (auto_enabled)\n\n!http://rexdev.de/index.php?rex_img_type=github_readme\u0026rex_img_file=lnk_rex_codemirror_templates.png!\n\nh5. Backend Page Templates (auto_enabled) - Anzeige im fullscreen mode\n\n!http://rexdev.de/index.php?rex_img_type=github_readme\u0026rex_img_file=lnk_rex_codemirror_templates_fullscreen.png!\n\nh5. Backend Page Module (auto_enabled)\n\n!http://rexdev.de/index.php?rex_img_type=github_readme\u0026rex_img_file=lnk_rex_codemirror_module.png!\n\nh5. Backend Page Aktionen (auto_enabled)\n\n!http://rexdev.de/index.php?rex_img_type=github_readme\u0026rex_img_file=lnk_rex_codemirror_actions.png!\n\n\nh2. Support Codemirror:\n\n \u003ca href='http://www.pledgie.com/campaigns/17784'\u003e\u003cimg alt='Click here to lend your support to: Fund CodeMirror development and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/17784.png?skin_name=chrome' border='0' /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Frex_codemirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaabm%2Frex_codemirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Frex_codemirror/lists"}