{"id":13535653,"url":"https://github.com/MuhammedAlkhudiry/quill-find-replace-module","last_synced_at":"2025-04-02T02:31:09.004Z","repository":{"id":52278922,"uuid":"200387906","full_name":"MuhammedAlkhudiry/quill-find-replace-module","owner":"MuhammedAlkhudiry","description":"A module for Quill rich text editor to allow searching/finding words and replacing them.","archived":false,"fork":false,"pushed_at":"2019-09-02T16:22:19.000Z","size":40,"stargazers_count":18,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T11:09:35.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MuhammedAlkhudiry.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":"2019-08-03T14:57:31.000Z","updated_at":"2025-03-20T16:19:01.000Z","dependencies_parsed_at":"2022-09-12T10:30:16.385Z","dependency_job_id":null,"html_url":"https://github.com/MuhammedAlkhudiry/quill-find-replace-module","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/MuhammedAlkhudiry%2Fquill-find-replace-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedAlkhudiry%2Fquill-find-replace-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedAlkhudiry%2Fquill-find-replace-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhammedAlkhudiry%2Fquill-find-replace-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuhammedAlkhudiry","download_url":"https://codeload.github.com/MuhammedAlkhudiry/quill-find-replace-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743572,"owners_count":20826556,"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-08-01T09:00:20.220Z","updated_at":"2025-04-02T02:31:08.655Z","avatar_url":"https://github.com/MuhammedAlkhudiry.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"#  Quill Find/Replace Module\nA module for Quill rich text editor to allow searching/finding words and replacing them.\n\n## Demo\n\n[Demo](https://codepen.io/muhammedalkhudiry/pen/VoMxeK)\n\n## Usage\n\nDownload Searcher.js, SearchBlot.js files, then:\n\nJS\n```\n// import module files\nimport Searcher from \"path/to/Searcher.js\";\nimport SearchedStringBlot from \"path/to/SearchBlot.js\";\n\n// register them\nQuill.register('modules/Searcher', Searcher);\nQuill.register(SearchedStringBlot);\n\n// initialize Quill editor\nconst quill = new Quill('#editor', {\n    modules: {\n        Searcher: true,\n    },\n});\n```\n\nCSS\n* You could choose how the searched word will look, but don't change: display: inline;\n```\n.ql-searched-string {\n    background-color: #f8ff00;\n    display: inline;\n\n}\n\n```\n\n## UI\n\nThere should be an input and button for every needed functionality:\n* Three button for search, replace, replace-all\nwith IDs: \"search\", \"replace\", \"replace-all\"\n* Two input with IDs: \"search-input\", \"replace-input\"\n\n#### Example:\n\n```\n\u003cinput id=\"search-input\"\u003e\n\u003cinput id=\"replace-input\"\u003e\n\u003cbutton id=\"search\"\u003efind\u003c/button\u003e\n\u003cbutton id=\"replace\"\u003ereplace\u003c/button\u003e\n\u003cbutton id=\"replace-all\"\u003ereplace all\u003c/button\u003e\n```\n\n# future plans\n* add options\n* the module now only support text-only editor, if your editor will include images, then the searcher with not work properly,\nsee [here](https://github.com/quilljs/quill/issues/2698)\n# Contribution\nPlease, make an [issue](https://github.com/MuhammedAlkhudiry/quill-find-replace-module/issues).\n\n# License\n[MIT License](https://rmm5t.mit-license.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMuhammedAlkhudiry%2Fquill-find-replace-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMuhammedAlkhudiry%2Fquill-find-replace-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMuhammedAlkhudiry%2Fquill-find-replace-module/lists"}