Categories


Popular topics

(Created page with "Category:Settings:EditorThe '''Editor » Image drag-and-drop''' branch of Settings has the following options. <h2 class="setting">Insert li...")
 
 
Line 13: Line 13:
  
 
<h2 class="setting">Format</h2>
 
<h2 class="setting">Format</h2>
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.
+
The '''Format''' text fields can be used to modify the text template to be used when inserting the image into web-based files.  Click on the  '''?''' button to see a reference of valid image format variables. This allows you to change the text / format 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.
+
'''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 (shown below) 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.
  
 
[[File:UltraEdit insert image.png|alt=Screenshot of Insert image(s) / customize dialog]]
 
[[File:UltraEdit insert image.png|alt=Screenshot of Insert image(s) / customize dialog]]

Latest revision as of 18:22, 11 January 2018

The Editor » Image drag-and-drop branch of Settings has the following options.

Insert link to images when dragged-and-dropped into web file

If this option is selected, images may be added to web files as HTML or CSS code using one of three methods:

  1. By dragging and dropping the image file(s) from Windows Explorer
  2. By dragging and dropping the image file(s) from the File view (Explorer or Project pane)
  3. By double-clicking the image file(s) in the File view (Explorer or Project pane)

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.

Format

The Format text fields can be used to modify the text template to be used when inserting the image into web-based files. Click on the ? button to see a reference of valid image format variables. This allows you to change the text / format 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 (shown below) 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.

HTML

This field is used to define the string to be used when inserting an image string into web-based files.

CSS

This field is used to define the string to be used when inserting an image string into CSS sections of web-based files.

MediaWiki spam blocked by CleanTalk.