Skip to content

Commit b97bc67

Browse files
committed
Change http:// help text to be a placeholder instead of the initial value
1 parent fdc6c25 commit b97bc67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vendor/assets/javascripts/bootstrap-wysihtml5/core-b3.js.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"<h3 class='modal-title'>" + locale.link.insert + "</h3>" +
5757
"</div>" +
5858
"<div class='modal-body'>" +
59-
"<input value='http://' class='bootstrap-wysihtml5-insert-link-url form-control'>" +
59+
"<input placeholder='http://' class='bootstrap-wysihtml5-insert-link-url form-control'>" +
6060
"<label class='checkbox'> <input type='checkbox' class='bootstrap-wysihtml5-insert-link-target' checked>" + locale.link.target + "</label>" +
6161
"</div>" +
6262
"<div class='modal-footer'>" +
@@ -81,7 +81,7 @@
8181
"<h3 class='modal-title'>" + locale.image.insert + "</h3>" +
8282
"</div>" +
8383
"<div class='modal-body'>" +
84-
"<input value='http://' class='bootstrap-wysihtml5-insert-image-url form-control'>" +
84+
"<input placeholder='http://link-to-your-image.png' class='bootstrap-wysihtml5-insert-image-url form-control'>" +
8585
"</div>" +
8686
"<div class='modal-footer'>" +
8787
"<a href='#' class='btn btn-default' data-dismiss='modal'>" + locale.image.cancel + "</a>" +

vendor/assets/javascripts/bootstrap-wysihtml5/core.js.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"<h3>" + locale.link.insert + "</h3>" +
5555
"</div>" +
5656
"<div class='modal-body'>" +
57-
"<input value='http://' class='bootstrap-wysihtml5-insert-link-url input-xlarge'>" +
57+
"<input placeholder='http://' class='bootstrap-wysihtml5-insert-link-url input-xlarge'>" +
5858
"<label class='checkbox'> <input type='checkbox' class='bootstrap-wysihtml5-insert-link-target' checked>" + locale.link.target + "</label>" +
5959
"</div>" +
6060
"<div class='modal-footer'>" +
@@ -75,7 +75,7 @@
7575
"<h3>" + locale.image.insert + "</h3>" +
7676
"</div>" +
7777
"<div class='modal-body'>" +
78-
"<input value='http://' class='bootstrap-wysihtml5-insert-image-url input-xlarge'>" +
78+
"<input placeholder='http://link-to-your-image.png' class='bootstrap-wysihtml5-insert-image-url input-xlarge'>" +
7979
"</div>" +
8080
"<div class='modal-footer'>" +
8181
"<a href='#' class='btn' data-dismiss='modal'>" + locale.image.cancel + "</a>" +

0 commit comments

Comments
 (0)