mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-27 19:42:50 +00:00
24 lines
904 B
Plaintext
24 lines
904 B
Plaintext
created: 20131024141900000
|
|
modified: 20140221140151790
|
|
tags: widget
|
|
title: EditBitmapWidget
|
|
type: text/vnd.tiddlywiki
|
|
|
|
! Introduction
|
|
|
|
The edit bitmap widget provides a user interface in the browser for editing bitmap tiddlers. It is currently a primitive proof-of-concept, supporting resizing and painting with a single color and line width.
|
|
|
|
! Content and Attributes
|
|
|
|
The content of the `<$edit-bitmap>` widget is ignored.
|
|
|
|
|!Attribute |!Description |
|
|
|tiddler |The tiddler to edit (defaults to the [[WidgetVariable: currentTiddler]]) |
|
|
|
|
! Configuration
|
|
|
|
The edit bitmap widget can be configured with these system tiddlers:
|
|
|
|
* [[$:/config/BitmapEditor/LineWidth]] determines the line width: <$edit-text tiddler="$:/config/BitmapEditor/LineWidth" tag="input"/>
|
|
* [[$:/config/BitmapEditor/Colour]] determines the line color: <$edit-text tiddler="$:/config/BitmapEditor/Colour" tag="input" type="color"/>
|