(Created page with "Category:Settings:EditorThe '''Editor » Image drag-and-drop''' branch of Settings has the following options. <h2 class="setting">Insert li...") |
(No difference)
|
The Editor » Image drag-and-drop branch of Settings has the following options.
If this option is selected, images may be added to web files as HTML or CSS code using one of three methods:
This feature keys off the active file's highlighting type, and will only work for web-based languages (HTML, Javascript, Perl, PHP, VBScript, XML, CSS). The following image-based file extensions are supported for this operation: BMP, GIF, ICO, JPEG, JPG, PNG, SVG, TIFF.
If this option is not selected, image files opened via any of the methods described above will be opened in the editor in hex mode.
The Format text fields can be used to modify the text template to be used when inserting the image into web-based files. Clicking on the "?" button will show a list of valid image format variables. This allows you to change the text the editor inserts for the HTML or CSS image.
Note: If you hold the Ctrl key while dragging an image file(s) from Windows Explorer and dropping it into a web-based file in the editor, the "Insert image(s) / customize" dialog will appear before the images are inserted into your source code. You can use this dialog to customize the inserted image string for that operation only. This does not affect the default format string defined in this section of settings.
This field is used to define the string to be used when inserting an image string into web-based files.
This field is used to define the string to be used when inserting an image string into CSS sections of web-based files.