- Publicity: Public Only All
markdown-image-procs.tcl
Stage pasted News images until the article or revision is saved.
- Location:
- packages/news/tcl/markdown-image-procs.tcl
Procedures in this file
- news::markdown_image::attach (private)
- news::markdown_image::directory (private)
- news::markdown_image::discard_attached_draft (private)
- news::markdown_image::draft_path (private)
- news::markdown_image::drafts (private)
- news::markdown_image::enabled_p (private)
- news::markdown_image::expire_drafts (private)
- news::markdown_image::mime_type (private)
- news::markdown_image::owns_article (private)
- news::markdown_image::require_drafts (private)
- news::markdown_image::upload_url (private)
Detailed information
news::markdown_image::attach (private)
news::markdown_image::attach item_id drafts
Attach these images to the article item shared by its revisions.
- Parameters:
- item_id (required)
- drafts (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::directory (private)
news::markdown_image::directory
Return the staging directory for pasted News images.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::discard_attached_draft (private)
news::markdown_image::discard_attached_draft item_id image_id path
Remove the draft after the article and attachment have committed.
- Parameters:
- item_id (required)
- image_id (required)
- path (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::draft_path (private)
news::markdown_image::draft_path image_id
Find the staged image belonging to this user and News instance.
- Parameters:
- image_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::drafts (private)
news::markdown_image::drafts content format
Collect this editor's staged images referenced by the article HTML.
- Parameters:
- content (required)
- format (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::enabled_p (private)
news::markdown_image::enabled_p
Check the current News instance's image-paste policy and Attachments service. Existing attached images remain readable independently of this setting.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::expire_drafts (private)
news::markdown_image::expire_drafts
Clean up abandoned uploads.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::mime_type (private)
news::markdown_image::mime_type path
Identify a supported bitmap by its contents.
- Parameters:
- path (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::owns_article (private)
news::markdown_image::owns_article package_id item_id
Check that the article is in this News instance.
- Parameters:
- package_id (required)
- item_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::require_drafts (private)
news::markdown_image::require_drafts content format
Collect drafts or return the normal News form error for an expired upload.
- Parameters:
- content (required)
- format (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
news::markdown_image::upload_url (private)
news::markdown_image::upload_url [ item_id ]
Issue an upload grant for the current article form.
- Parameters:
- item_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.