Live editing text and HTML content of the page with the Sublime Text from the page context or DevTools.

Latest Version

Version
0.2.4
Update
November 22, 2023
Size
190KiB
Developer
Category
Users
10,000+
Rating
3.74359 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ActiveTab
NativeMessaging
Notifications
ContextMenus
Scripting
See more

Edit with Sublime Text™ Extension

This extension facilitates editing of HTML node element's content within the popular Sublime Text editor, providing real-time updates upon saving the generated temporary file. Additionally, it enables external editing of \"TEXTAREA,\" \"INPUT[type=search],\" and \"INPUT[type=text]\" elements.

There are three methods for sending content to the Sublime Editor:

1. Activate the simple inspector using the action button, click on the HTML node, and press the ESC key to cancel the operation if needed.
2. Use the DevTools \"Elements\" panel, where a new sub-pane is added. Select \"Edit as HTML,\" choose an HTML node, and press the button to open the content in the Sublime Text editor.
3. Right-click on a \"TEXTAREA\" or \"INPUT[type=text]\" element and use the context menu item.

This extension supports simultaneous editing of multiple nodes. Each editor has its unique temporary text file, and saving updates the content of the respective node. These files are stored in the operating system's temporary directory with random filenames.

Additionally, the extension allows the DevTools panel to convert an external script or CSS resource to an internal equivalent. This functionality enables sending the content of remote resources to the external editor.

File extensions used for temporary resource creation:
1. HTML -> when innerHTML or outerHTML content is sent to the external editor.
2. JS -> when editing an inline script.
3. TXT -> when editing an editable area.

--- Legal
\"Sublime Text\" is a trademark of Sublime HQ Pty Ltd, registered in the U.S. and other countries. This extension is an independent project with no affiliation to the mentioned product.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Edit with Sublime Text\u2122", "description": "__MSG_description__", "version": "0.2.4", "default_locale": "en", "manifest_version": 3, "permissions": [ "storage", "activeTab", "nativeMessaging", "notifications", "contextMenus", "scripting" ], "optional_permissions": [ "downloads" ], "optional_host_permissions": [ "*://*/*" ], "background": { "service_worker": "worker.js" }, "offline_enabled": true, "action": {}, "options_ui": { "page": "/data/options/index.html" }, "icons": { "16": "/data/icons/16.png", "32": "/data/icons/32.png", "48": "/data/icons/48.png", "64": "/data/icons/64.png", "128": "/data/icons/128.png", "256": "/data/icons/256.png", "512": "/data/icons/512.png" }, "homepage_url": "https://webextension.org/listing/edit-as-html.html?from=sublime", "commands": { "_execute_action": {} }, "web_accessible_resources": [{ "resources": ["/data/native/index.html"], "matches": ["*://*/*"] }]}
Read more

Similar Extensions

icon

Sublime-like tabbing Extension · Productivity 10,000+ 11 ★ 85.93KiB

icon

Text Editor Extension · Productivity 10,000+ 23 ★ 1.59MiB

icon

Edit with Notepad++ Extension · Developer Tools 10,000+ 24 ★ 44.85KiB

icon

HTML editor WebStudio for Webpages Extension · Productivity 10,000+ 28 ★ 549KiB

icon

Live editor for CSS, Less & Sass - Magic CSS Extension · Developer Tools 10,000+ 266 ★ 2.15MiB

icon

Visual Studio Code Extension Downloader Extension · Developer Tools 10,000+ 10 ★ 4.2KiB

icon

HTML Editor for Gmail by cloudHQ Extension · Social & Communication 10,000+ 342 ★ 554KiB

icon

Open with Notepad++ Extension · Productivity 10,000+ 212 ★ 216KiB

icon

JSON live editor Extension · Developer Tools 10,000+ 14 ★ 252KiB

icon

OpenInBrowser Extension · Developer Tools 10,000+ 1 ★ 18.94KiB

icon

Python Shell Extension · Developer Tools 10,000+ 207 ★ 8.31MiB

icon

Code Plunker (Live HTML CSS Editor) Extension · Developer Tools 10,000+ 8 ★ 288KiB

icon

Eclipse IDE online Extension · Productivity 10,000+ 39 ★ 438KiB

icon

GhostText Extension · Developer Tools 10,000+ 138 ★ 98.09KiB

icon

Wowie Text Editor Extension · Developer Tools 10,000+ 4 ★ 3.12MiB

icon

Web Maker Extension · Developer Tools 10,000+ 1002 ★ 5.76MiB

icon

Open with Visual Studio Code - Github Extension · Productivity 10,000+ 2 ★ 47.19KiB

icon

Images, icons & photos with ChatGPT Extension · Photos 10,000+ 30 ★ 478KiB

icon

Codeanywhere Extension · Developer Tools 10,000+ 199 ★ 626KiB

icon

goormIDE: Powerful Code Editor with Container Extension · Developer Tools 10,000+ 25 ★ 945KiB

icon

Amino: Live CSS Editor Extension · Developer Tools 10,000+ 453 ★ 1.45MiB

icon

Open in VS Code Extension · Developer Tools 10,000+ 3 ★ 27.21KiB

icon

RunMyCode Online Extension · Developer Tools 10,000+ 3 ★ 28.87KiB

icon

Open in VSCode Extension · Developer Tools 10,000+ 4 ★ 60.87KiB

User reviews

icon

Leon Niceday (ID: 00000085ed7df105) Voted 3 ★ - Updated 04/12/2023 While it works on websites, I could not edit local html files. Can it work on those?

icon

Jared (ID: 000000d53d7ac08a) Voted 5 ★ - Updated 08/16/2022 Dope, af yo. I use a lot of html in my work email (tech support) and it's handy af to be able to grab an element off another webpage, make a few tweaks to it in my unregistered copy of sublime text (like the true, OG pos that I am) and go. Installation was a breeze. The one-stars on this page can suck it. Great work, dev!

icon

ACES -GROUP (ID: 0000005e96b8033d) Voted 5 ★ - Updated 07/18/2021 need upgrade SUBLIME Text 3 is out...ST-4 is not recognized...path confused with numbering i guess Works Super-fast ..with sublime .On canary or chrome...after defined the Path on Windows-10pro ..wish to have it for Atom. Then I do not need to copy paste

icon

Speedy Pendragon (ID: 000000479a26bbf7) Voted 1 ★ - Updated 04/29/2021 I agree, it's the worst.

icon

Dewey Pendragon (ID: 00000020e3670bc7) Voted 1 ★ - Updated 04/29/2021 Horrible, that's all you need to know.