Piotr Jasiun
|
a6027633e5
Small fixes.
|
10 years ago |
Piotr Jasiun
|
a2e7345ce4
Changed to.be.equals to to.equals.
|
10 years ago |
Piotr Jasiun
|
4b9230ec1a
Nodes list also accept iterables.
|
10 years ago |
Piotr Jasiun
|
f9d0f3da10
Use iterables instead of arrays.
|
10 years ago |
Piotr Jasiun
|
27eddaada9
Renamed protected getAttrCount to _getAttrCount.
|
10 years ago |
Piotr Jasiun
|
deb25c1b49
Attributes are copied.
|
10 years ago |
Piotr Jasiun
|
f687ea161d
Use Set for nodes.
|
10 years ago |
Piotr Jasiun
|
74c383037a
Docs and tests for Node.setAttr and Node.removeAttr.
|
10 years ago |
Piotr Jasiun
|
65b2764301
Node attributes are private now.
|
10 years ago |
Piotr Jasiun
|
ec3623eb2f
We do not need noted in child list anymore.
|
10 years ago |
Piotr Jasiun
|
2b1d78116e
element.children is now protected.
|
10 years ago |
Piotr Jasiun
|
a9095cb3f0
Docs for operations.
|
10 years ago |
Piotr Jasiun
|
cd1d729841
Added @constructor.
|
10 years ago |
Piotr Jasiun
|
7917831ba0
Updated children parameter of element constructor.
|
10 years ago |
Piotr Jasiun
|
a797578410
Introduced element.removeChildren method.
|
10 years ago |
Piotr Jasiun
|
b1bcaf7c59
Docs: update docs.
|
10 years ago |
Piotr Jasiun
|
fdb931168d
Remove and move _execute check if nodes match.
|
10 years ago |
Piotr Jasiun
|
352f7de7ad
Check if oldAttr.key != newAttr.key may be done before a loop.
|
10 years ago |
Piotr Jasiun
|
ffd871bc3f
makePositionFromParentAndOffset, makePositionBefore and makePositionAfter do not need root as a parameter. Added node.root getter property.
|
10 years ago |
Piotr Jasiun
|
7a88313802
Introduces Text class.
|
10 years ago |
Piotr Jasiun
|
9c1b9fd2de
Removed nodeList.push. Introduced element.insertChildren. Element can be created with children. Parent is added automatically when node is inserted.
|
10 years ago |
Piotr Jasiun
|
cac4f40ddf
Introduced NodeList class.
|
10 years ago |
Piotr Jasiun
|
de701d6838
Position use root + path instead of doc + path.
|
10 years ago |
Piotr Jasiun
|
5266b4950d
Change operation accepts multiple ranges.
|
10 years ago |
Piotr Jasiun
|
7190f6f302
Use CKEditorError.
|
10 years ago |
Piotr Jasiun
|
ad3b3a7543
Tests for getAttr and hasAttr
|
10 years ago |
Piotr Jasiun
|
21639c412d
Fixed broken position test.
|
10 years ago |
Piotr Jasiun
|
9b10cea0cb
Change operation tests and bug fixes.
|
10 years ago |
Piotr Jasiun
|
4caf52d868
Tests and improvements for move operation.
|
10 years ago |
Piotr Jasiun
|
8f1274ef29
Tests: Added insert and remove operations tests.
|
10 years ago |