new icons for anchors
This commit is contained in:
@@ -811,6 +811,39 @@
|
||||
</svg>
|
||||
</g>
|
||||
|
||||
<g id="anchor_start">
|
||||
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit-->
|
||||
<g class="layer">
|
||||
<title>Layer 1</title>
|
||||
<text fill="#000000" font-family="serif" font-size="9" id="svg_2" stroke="#000000" stroke-width="0" text-anchor="middle" x="12" xml:space="preserve" y="14.66667">abcd</text>
|
||||
<line fill="none" id="svg_1" stroke="#ff7f00" stroke-width="2" x1="1.5" x2="1.5" y1="5.63542" y2="19.30208"/>
|
||||
</g>
|
||||
</svg>
|
||||
</g>
|
||||
|
||||
<g id="anchor_middle">
|
||||
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit-->
|
||||
<g class="layer">
|
||||
<title>Layer 1</title>
|
||||
<text fill="#000000" font-family="serif" font-size="9" id="svg_2" stroke="#000000" stroke-width="0" text-anchor="middle" x="12" xml:space="preserve" y="14.66667">abcd</text>
|
||||
<line fill="none" id="svg_1" stroke="#ff7f00" stroke-width="2" x1="11.75" x2="11.75" y1="4.38542" y2="18.05208"/>
|
||||
</g>
|
||||
</svg>
|
||||
</g>
|
||||
|
||||
<g id="anchor_end">
|
||||
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit-->
|
||||
<g class="layer">
|
||||
<title>Layer 1</title>
|
||||
<text fill="#000000" font-family="serif" font-size="9" id="svg_2" stroke="#000000" stroke-width="0" text-anchor="middle" x="12" xml:space="preserve" y="14.66667">abcd</text>
|
||||
<line fill="none" id="svg_1" stroke="#ff7f00" stroke-width="2" x1="21.46429" x2="21.46429" y1="4.95685" y2="18.62351"/>
|
||||
</g>
|
||||
</svg>
|
||||
</g>
|
||||
|
||||
<g id="linecap_butt">
|
||||
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:se="http://svg-edit.googlecode.com" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit -->
|
||||
|
||||
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 69 KiB |
@@ -1159,9 +1159,12 @@ editor.init = () => {
|
||||
'#tool_ungroup': 'ungroup',
|
||||
'#tool_unlink_use': 'unlink_use',
|
||||
|
||||
'#tool_alignleft, #tool_posleft, #tool_text_anchor_start': 'align_left',
|
||||
'#tool_aligncenter, #tool_poscenter, #tool_text_anchor_middle': 'align_center',
|
||||
'#tool_alignright, #tool_posright, #tool_text_anchor_end': 'align_right',
|
||||
'#tool_alignleft, #tool_posleft': 'align_left',
|
||||
'#tool_text_anchor_start': 'anchor_start',
|
||||
'#tool_text_anchor_middle': 'anchor_middle',
|
||||
'#tool_text_anchor_end': 'anchor_end',
|
||||
'#tool_aligncenter, #tool_poscenter': 'align_center',
|
||||
'#tool_alignright, #tool_posright': 'align_right',
|
||||
'#tool_aligntop, #tool_postop': 'align_top',
|
||||
'#tool_alignmiddle, #tool_posmiddle': 'align_middle',
|
||||
'#tool_alignbottom, #tool_posbottom': 'align_bottom',
|
||||
@@ -4280,6 +4283,7 @@ editor.init = () => {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} value "start","end" or "middle"
|
||||
* @returns {false}
|
||||
*/
|
||||
const clickTextAnchor = function (value) {
|
||||
|
||||
Reference in New Issue
Block a user