Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Measuring Ruler

Beskrivning

The plugin is designed to measure the height, width and margins of elements on the page during the preview when editing. It also shows the absolute and relative positions of elements.
In auto-correction mode, the program can automatically detect the borders of elements and correct inaccuracies in cursor positioning. Auto-correction occurs at the end of the measurement.
The plugin does not affect the appearance and html code of the page when its published.
Tested on browsers: Yandex v20.8.3.115, Google Chrome v85.0.4183.121, Opera v70.0.3728.189, Microsoft Edge v85.0.564.51, Firefox v78.0.2.

Usage

  1. Install and activate the plugin.
  2. Open an existing page for editing or create a new one.
  3. Make a preview of the page.
  4. Move the cursor to an element.
  5. Press the ”M” key on your keyboard to enable measurement mode.
  6. Use the left mouse button to measure. There are two possible ways:
    measure from click to click;
    tap and pull.
  7. Press the ”M” key again to disable measurement mode.

Additional features:
press the ”A” key on your keyboard to turn auto-correction mode on or off;
use the ”Esc” key to remove unnecessary measurement elements from the screen.

Skärmdumpar

  • Press the "M" key on your keyboard to enable and disable the measurement mode.
  • The cursor becomes a crosshair. Its absolute coordinates are displayed next to it.
  • Use the left mouse button to measure. There are two possible ways: measure from click to click or tap and pull.
  • The absolute coordinates of the element, as well as its width and height, are displayed.
  • When the cursor is inside the element, its absolute and relative coordinates are displayed.
  • To turn auto-correction mode on or off, press the "A" key on your keyboard. Appearance of the cursor in auto-correction mode.
  • Measuring the distance between blocks.
  • The cursor and lines are clearly visible on both dark and light page backgrounds.

Recensioner

24 november 2020 1 svar
Works as advertised, nice, easy, no drama ! Thanks for this plugin !
Läs 1 betyg

Bidragsgivare och utvecklare

”Measuring Ruler” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Measuring Ruler” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1 (05.12.2020)

  • Added a comma in the block data string.
  • Added an auto-correction mode indicator next to the crosshair cursor.
  • Added automatic correction of inaccuracies in setting the cursor on an element.
  • Fixed flickering on the system cursor when you move it.

1.0 (24.11.2020)

  • Initial release