Commit 8c2cef5 1 parent cc6ab21 commit 8c2cef5 Copy full SHA for 8c2cef5
File tree 4 files changed +41
-10
lines changed
4 files changed +41
-10
lines changed Original file line number Diff line number Diff line change 322
322
, fullscreen : 70 // f keycode
323
323
, preview : 80 // p keycode
324
324
}
325
+ , strings : { togglePreview : 'Toggle Preview Mode'
326
+ , toggleEdit : 'Toggle Edit Mode'
327
+ , toggleFullscreen : 'Enter Fullscreen'
328
+ }
325
329
, parser : typeof marked == 'function' ? marked : null
326
330
}
327
331
, defaultStorage ;
468
472
'<iframe frameborder="0" id="epiceditor-editor-frame"></iframe>' +
469
473
'<iframe frameborder="0" id="epiceditor-previewer-frame"></iframe>' +
470
474
'<div id="epiceditor-utilbar">' +
471
- '<img width="30" src="' + this . settings . basePath + '/images/preview.png" title="Toggle Preview Mode " class="epiceditor-toggle-btn epiceditor-toggle-preview-btn"> ' +
472
- '<img width="30" src="' + this . settings . basePath + '/images/edit.png" title="Toggle Edit Mode " class="epiceditor-toggle-btn epiceditor-toggle-edit-btn"> ' +
473
- '<img width="30" src="' + this . settings . basePath + '/images/fullscreen.png" title="Enter Fullscreen " class="epiceditor-fullscreen-btn">' +
475
+ '<img width="30" src="' + this . settings . basePath + '/images/preview.png" title="' + this . settings . strings . togglePreview + ' " class="epiceditor-toggle-btn epiceditor-toggle-preview-btn"> ' +
476
+ '<img width="30" src="' + this . settings . basePath + '/images/edit.png" title="' + this . settings . strings . toggleEdit + ' " class="epiceditor-toggle-btn epiceditor-toggle-edit-btn"> ' +
477
+ '<img width="30" src="' + this . settings . basePath + '/images/fullscreen.png" title="' + this . settings . strings . toggleFullscreen + ' " class="epiceditor-fullscreen-btn">' +
474
478
'</div>' +
475
479
'</div>'
476
480
You can’t perform that action at this time.
0 commit comments