Opened 15 years ago
Closed 15 years ago
#4254 closed New Feature (fixed)
Add API sample
Reported by: | Alfonso Martínez de Lizarrondo | Owned by: | Alfonso Martínez de Lizarrondo |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.1 |
Component: | General | Version: | 3.0 |
Keywords: | Review+ | Cc: |
Description
Similar to the old sample08, I've removed the buttons to interact directly with the content as I'm not sure about the policy now about that.
Is it OK this way?
Attachments (2)
Change History (8)
Changed 15 years ago by
comment:1 Changed 15 years ago by
How about adding getSnapshot/loadSnapshot data into the sample, beside, I think we need an alert for the executeCommand within source mode.
comment:2 Changed 15 years ago by
OK for the warning about executeCommand, I thought about it, but I just followed the previous sample.
But I don't know about the getSnapshot/loadSnapshot. They lacks any documentation explaining what do they do, and even reading the code, I don't know why they are interesting in a simple API example.
Many people ask how to insert some text, how to read the contents, or detect if they have been modified, so a sample covering that (and even some blog posts to explain it again) is useful, but as I said, I just don't know right now why those functions could be useful for a newcomer.
comment:3 Changed 15 years ago by
Keywords: | Review? added; Discussion removed |
---|---|
Milestone: | → CKEditor 3.1 |
Version: | SVN (CKEditor) → CKEditor 3.0 |
comment:4 Changed 15 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Proposed sample file