我认为这对那些了解它的人来说很简单:-)
我想删除所有具有不属性contenteditable =“ false”的元素的“ conteneditable”属性。因此,仅删除那些具有“ contenteditable = true”的内容。
我该怎么做? 这将删除所有元素上的
$('body *', iframe).removeAttr('contenteditable');
答案 0 :(得分:1)
属性选择器:SessionToken
答案 1 :(得分:0)
我相信您可以使用def DrawPointsOnTail(canvas):
global tailSegments, centerPoint, endPoint, midPoint, tailLength
currentBezierLength = BezierLength(centerPoint.position,
midPoint.position,
endPoint.position,
100)
print (currentBezierLength)
#if (currentBezierLength < tailLength):
distanceBetweenPoints = currentBezierLength / tailSegments
#else:
#distanceBetweenPoints = tailLength / tailSegments
for i in range(0, tailSegments):
currentSegment = Point(BezierCurve(centerPoint.position,
midPoint.position,
endPoint.position,
(i * distanceBetweenPoints) / currentBezierLength),
3, "Blue")
currentSegment.draw(canvas)
函数。
请参见here