Hi Thomas,
 I made the below small modification in Svg editor 

---

<$select tiddler=selectTid>
<$list filter="[prefix[$:/examples/]]">
<option value=<<currentTiddler>>>
<$view field=caption><$view field=title/></$view>
</option>
</$list>
</$select>
<$vars newSvg={{{ [[selectTid]get[text]] }}}>
<$button set="$:/telmiger/svg/icon/path" setTo={{{ [<newSvg>get[text]] 
}}}>Apply</$button>
</$vars>


<label>`SVG Editor:`
<br><br>
<$edit-text tiddler="$:/telmiger/svg/icon/path" field="text" tag="textarea" 
columns="80"rows="3" minHeight="3em" autoHeight="yes" 
class="te-svg-editor"/>
</label>

This way one can select among examples and use the apply button to have it 
in live editor.
I am sure you can use a more elegant solution here.

--Mohmmad


On Sunday, January 12, 2020 at 3:07:39 AM UTC+3:30, Thomas Elmiger wrote:
>
> Hello friends, a new version is live on https://tid.li/tw5/apps/svg.html 
> :)
>
> Optimisations:
>
>    - Choose raster: 10 or 20 or none (minimalistic version of what Josiah 
>    suggested)
>    - Copy to clipboard: buttons for code examples and for images from the 
>    TW library
>    
> Scaling hints (for Josiah and all others interested):
>
>    - The size of the result should adapt to the space available in the 
>    browser window.
>    - In the CSS editor below the result you can see *width: 70vh; *– this 
>    tells the graphic to use a width corresponding to 70% of viewport height.
>       - Try other values or entities and let us know what works best on 
>       your screens.
>    
> Hope that helps.
> -t
>
> Am Samstag, 11. Januar 2020 13:19:56 UTC+1 schrieb TiddlyTweeter:
>>
>> The single biggest issue with editing SVG in TW is everything is too 
>> small!
>>
>> On  a desktop it would be great if one could 
>>
>>    (1) maximise the edit window; 
>>
>>    (2) alter the raster grid intervals interactively. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc229c4a-f96d-484f-ba9c-538cf9cd632b%40googlegroups.com.

Reply via email to