Not Solved [How To?] remove http:// in insert an image
#1
Not Solved
hello

i want to ask how to remove http:// in insert an image

[Image: mybb.jpg]
thank you
[Image: ziuma.jpg]    
Reply
#2
Not Solved
Hi,

1] in /jscripts/bbcodes_sceditor.js

Find:
.set('image', {
	exec: function (caller) {
		var editor = this,
		content = $(this._('<form><div><label for="link">{0}</label> <input type="text" id="image" value="http://" /></div>' +
		'<div><label for="width">{1}</label> <input type="text" id="width" size="2" /></div>' +
		'<div><label for="height">{2}</label> <input type="text" id="height" size="2" /></div></form>',
		this._("URL:"),

Change the value part to whatever you want

2] in /jscripts/jquery.sceditor.min.js

Find:
<div><input type="button" class="button" value="{insert}" /></div>',image:'<div><label for="link">{url}</label> <input type="text" id="image" dir="ltr" placeholder="https://" />

Change the placeholder to whatever you want


3] in /jscripts/jquery.sceditor.bbcode.min.js

Find:
<div><input type="button" class="button" value="{insert}" /></div>',image:'<div><label for="link">{url}</label> <input type="text" id="image" dir="ltr" placeholder="https://" /></div>

Change the placeholder to whatever you want


4] /jscripts/jquery.sceditor.xhtml.min.js

Find:
<div><input type="button" class="button" value="{insert}" /></div>',image:'<div><label for="link">{url}</label> <input type="text" id="image" dir="ltr" placeholder="https://" /></div>

Change the placeholder to whatever you want

5] in /jscripts/sceditor.min.js

Find:
<div><input type="button" class="button" value="{insert}" /></div>',image:'<div><label for="link">{url}</label> <input type="text" id="image" dir="ltr" placeholder="https://" /></div>

Change the placeholder to whatever you want
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)