Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Disable the ability to drag images #215

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h5 data-i18n="footer.in-touch.header">Keep in Touch</h5>
var displayContent = "";
data.forEach(function(member) {
displayContent += '<a href="' + member.html_url + '">';
displayContent += '<img src="' + member.avatar_url.split("?")[0] + '?s=48" title="' + member.login + '">';
displayContent += '<img src="' + member.avatar_url.split("?")[0] + '?s=48" title="' + member.login + '" draggable="false">';
displayContent += '</a>';
});

Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1><span data-i18n="index.page.hero.description">A modern, open source text edi
</p>
<!--
This <img> tag will be added when NOT on mobile
<img src="img/hero.png" srcset="img/hero@2x.png 2x" height="370" width="1059" alt="Screenshot of Brackets">
<img src="img/hero.png" srcset="img/hero@2x.png 2x" height="370" width="1059" alt="Screenshot of Brackets" draggable="false">
-->
</div>
</div>
Expand Down Expand Up @@ -158,21 +158,21 @@ <h2 data-i18n="[html]index.page.content.love-and-js.header">Made with
<div class="last-row on-white row">
<div class="medium-4 large-4 columns">
<div class="float-obj">
<img width="50px" height="50px" src="img/graphics.svg#inline-editor">
<img width="50px" height="50px" src="img/graphics.svg#inline-editor" draggable="false">
</div>
<h3 data-i18n="index.page.content.feature-highlights.inline-editor.header">Inline Editors</h3>
<p data-i18n="[html]index.page.content.feature-highlights.inline-editor.content">Instead of jumping between file tabs, Brackets lets you open a window into the code you care about most. Want to work on the CSS that applies to a specific ID? Put your mouse cursor on that ID, push <kbd>Command</kbd> / <kbd>Ctrl+E</kbd> and Brackets will show you all the CSS selectors with that ID in an inline window so you can work on your code side-by-side without any popups.</p>
</div>
<div class="medium-4 large-4 columns">
<div class="float-obj">
<img width="50px" height="50px" src="img/graphics.svg#live-preview">
<img width="50px" height="50px" src="img/graphics.svg#live-preview" draggable="false">
</div>
<h3 data-i18n="index.page.content.feature-highlights.live-preview.header">Live Preview</h3>
<p data-i18n="index.page.content.feature-highlights.live-preview.content">Get a real-time connection to your browser. Make changes to CSS and HTML and you'll instantly see those changes on screen. Also see where your CSS selector is being applied in the browser by simply putting your cursor on it. It's the power of a code editor with the convenience of in-browser dev tools.</p>
</div>
<div class="medium-4 large-4 columns">
<div class="float-obj">
<img width="50px" height="50px" src="img/graphics.svg#preprocessors">
<img width="50px" height="50px" src="img/graphics.svg#preprocessors"draggable="false">
</div>
<h3 data-i18n="index.page.content.feature-highlights.preprocessor.header">Preprocessor Support</h3>
<p data-i18n="index.page.content.feature-highlights.preprocessor.content">Work with preprocessors in a whole new way. We know how important preprocessors are to your workflow. That’s why we want to make Brackets the best code editor for preprocessors out there. With Brackets you can use Quick Edit and Live Highlight with your LESS and SCSS files which will make working with them easier than ever.
Expand Down Expand Up @@ -356,7 +356,7 @@ <h5 data-i18n="footer.in-touch.header">Keep in Touch</h5>
$("#download").hide();
$("#secondary-download").hide();
} else {
$("<img src='img/hero.png' srcset='img/hero@2x.png 2x' height='370' width='1059' alt='Screenshot of Brackets'>").appendTo("#download");
$("<img src='img/hero.png' srcset='img/hero@2x.png 2x' height='370' width='1059' alt='Screenshot of Brackets' draggable='false'>").appendTo("#download");
}
</script>

Expand Down