The styles are explained here:

http://docs.ckeditor.com/#!/guide/dev_styles

For editing json tiddlers there is the json editor plugin at bjtools, it is 
at present a bit clunky, you have to click buttons to save elements and 
then save the tiddler which is not intuitive, but it save you from having 
to pretend you are a json parser!

all the best

BJ

On Tuesday, July 14, 2015 at 11:21:05 AM UTC+1, Duarte Farrajota Ramos 
wrote:
>
> Styles will be a welcome addition certainly. For now I managed to get it 
> working with the plugins I needed, nothing too fancy.
> Only real complaint I have at the moment is that small glitch while 
> loading CKEditor which temporarily messes up the layout until you start 
> typing and it all falls back into place, but I can live with that.
>
> What I don't really understand well how to use is the styles.json tiddler 
> at $:/plugins/bj/visualeditor/styles.json and what notation must be used 
> there
> I know you add styles there, but I can't tell how to set them apart for 
> the "Paragraph Format" and "Formatting Styles" menus, or how to add a few 
> simple "H1" and "H2" elements without additional "styles" for example, or 
> "Block quotes" or "<Code>".
> Playing around with it is a bit cumbersome, because any wrong combination 
> or mistake will generate a javascript error and prevent tiddlywiki from 
> booting properly.
>
> On Tuesday, 14 July 2015 05:52:18 UTC+1, BJ wrote:
>>
>> I have not finished the work for the ckeditor, I plan on adding support 
>> for the divarea plugin to enable styles (I have this working on twclassic), 
>> but I have a lot of projects and am only one. Let me know what was causing 
>> your problems - I might fix it !
>> cheers
>> BJ
>>
>> On Tuesday, July 14, 2015 at 2:49:29 AM UTC+1, Duarte Farrajota Ramos 
>> wrote:
>>>
>>> Haha that's very kind of you thanks for the wonderful support. The 
>>> problem once again seems to be between the seat and the keyboard luckily 
>>> for you.
>>>
>>> Some wacky combination of CKEditor plugins (built from CK builder 
>>> website) seems to be the culprit of the malfunction, it works fine in the 
>>> provided samples page but fails to load inside tiddlywiki
>>> It is simply solved by downloading a standard CKeditor build, I'll try 
>>> adding plugins one by one and see if I can find which ones are causing 
>>> trouble. 
>>> If you are interested I can still provide a broken CKEditor build, but 
>>> that's probably just a waste of time.
>>>
>>> Anyway thanks for your availability, much appreciated :)
>>>
>>> On Monday, 13 July 2015 21:23:37 UTC+1, BJ wrote:
>>>>
>>>> Hi Duarte,
>>>> well I like to please my customers,( and as far as I know that means 
>>>> just you!) and so have downloaded  4.5.1 and have tried it with 5.1.9 - 
>>>> and 
>>>> it seems to work ok. If you can put you tiddlywiki online somewhere that I 
>>>> can see it I will try and workout why it doesn't work for you.
>>>>
>>>> Cheers
>>>>
>>>> BJ
>>>>
>>>> On Monday, July 13, 2015 at 5:11:41 PM UTC+1, Duarte Farrajota Ramos 
>>>> wrote:
>>>>>
>>>>> Hey BJ
>>>>> Sorry to bother you and dig up this old post, there a few major 
>>>>> releases in the meantime, and I was excited to try the new CKEditor 4.5.1 
>>>>> with the fresh new TiddlyWiki 5.1.9
>>>>> Turns out there must have been some deeper changes on both sides that 
>>>>> seem to be preventing it from working correctly. I mean CKEditor seems 
>>>>> load 
>>>>> inside tiddlywiki but it appears all greyed out, I can't type or press 
>>>>> any 
>>>>> of the buttons.
>>>>> Did I do something wrong along installation, or did the deeper changes 
>>>>> really break the fragile compatibility?
>>>>> Do you think you could be bothered to update for the latest versions, 
>>>>> would it be worth your while?? Very few people seem to be using this, so 
>>>>> I 
>>>>> totally understand if you don't.
>>>>>
>>>>> Thanks, Duarte
>>>>>
>>>>>
>>>>> On Thursday, 12 February 2015 12:39:38 UTC, BJ wrote:
>>>>>>
>>>>>> Hi Tobias,
>>>>>> if you look in the widget's source you will see that an 
>>>>>> 'x-perimental' type can be enabled - I cannot decide if it is a good 
>>>>>> thing 
>>>>>> or not - I don't plan to support it at the moment
>>>>>> cheers
>>>>>>
>>>>>> BJ
>>>>>>
>>>>>> On 12 February 2015 at 01:16, Tobias Beer <[email protected]> wrote:
>>>>>>
>>>>>>> Hi BJ,
>>>>>>>
>>>>>>> I just noticed that — while you can't put any macros — you can 
>>>>>>> actually put widgets alongside html (in source mode). What you don't 
>>>>>>> see is 
>>>>>>> some placeholder in CKEditor that hints at you that it's there.
>>>>>>>
>>>>>>> Now I am wondering whether CKEditor does allow for something like 
>>>>>>> "widgets"... so we could at least see a placeholder with the widget 
>>>>>>> code 
>>>>>>> and upon clicking we'd be editing that core widget.
>>>>>>>
>>>>>>> Perhaps a CKEditor plugin could be written that allows to insert and 
>>>>>>> edit a number of TiddlyWiki widgets, even with placeholders for the 
>>>>>>> corresponding attributes?
>>>>>>>
>>>>>>> Best wishes, Tobias.
>>>>>>>
>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>> the Google Groups "TiddlyWiki" group.
>>>>>>> To unsubscribe from this topic, visit 
>>>>>>> https://groups.google.com/d/topic/tiddlywiki/nMLwo2eRRqE/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>>> [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d258d96f-64dd-4615-b924-d9bb7a9557db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to