Sync with latext SVG-Edit
Subpath tool. Also make the itex tool a little more selective (only applies to <foreignObject>s with a <math> firstChild.
This commit is contained in:
parent
932c42c24a
commit
e75c0cc81c
8 changed files with 187 additions and 11 deletions
|
@ -283,7 +283,8 @@ $(function() {
|
|||
while(i--) {
|
||||
var elem = selElems[i];
|
||||
if(elem && elem.tagName == "foreignObject") {
|
||||
if(opts.selectedElement && !opts.multiselected) {
|
||||
if(opts.selectedElement && !opts.multiselected &&
|
||||
elem.firstElementChild.namespaceURI == mathns ) {
|
||||
$('#itex_font_size').val(elem.getAttribute("font-size"));
|
||||
$('#itex_width').val(elem.getAttribute("width"));
|
||||
$('#itex_height').val(elem.getAttribute("height"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue