Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在带有 sublime text 2 的 HTML 文档中打开脚本标记时,它会自动添加 type="text/javascript" 但我不想要它,因为它在 HTML5 规范中不是必需的。我该如何阻止它这样做?
首选项菜单 -> 浏览包 -> 浏览HTML floder -> 使用任何文本编辑器打开html_completions.py - > 替换该行
("script\tTag", "script type=\"${1:text/javascript}\">$0</script>"),
和
("script\tTag", "script>$0</script>"),