I could add an exta config option eg

extraAllowedContent = 
'*[id];*(*);*{*};p(*)[*]{*};div(*)[*]{*};li(*)[*]{*};ul(*)[*]{*};span(*)[*]{*};table(*)[*]{*};td(*)[*]{*}';



On Thursday, November 23, 2017 at 3:56:12 PM UTC+1, BJ wrote:
>
> you would have to change the javascript it is in the tiddler ckedit.js.
>
>
> On Thursday, November 23, 2017 at 2:21:37 PM UTC+1, Paul Netsaver wrote:
>>
>> Hi to all,
>> I managed to install *visualeditor *following the instructions. Now, the 
>> point would be customizing the cleaner inside CKEditor...
>> I tried with *changing plugins/bj/visualeditor/config.json*, but this 
>> seems to be implicitly the content of CKEDITOR.editorConfig 
>> <https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR-method-editorConfig>
>>  
>> = function( config ){...}, while 
>> in order to configure the CK filter (ACF), I should edit the  CKEDITOR.
>> Config 
>> <https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR-method-editorConfig>
>>  *allowedContent* and *disallowedContent* properties..
>>
>> Does anyone know how to customize that section?
>>
>> Thanks a lot,
>> Paul Netsaver
>>
>>
>> Il giorno giovedì 23 novembre 2017 11:00:36 UTC+1, Paul Netsaver ha 
>> scritto:
>>>
>>>
>>>
>>> Il giorno lunedì 6 novembre 2017 11:28:23 UTC+1, @TiddlyTweeter ha 
>>> scritto:
>>>>
>>>> Ciao Mark S. & Paul
>>>>
>>>> FWIW, both CKEditor (that BJ made a plugin for to be able to run 
>>>> natively in TW) and TinyMCE WYSIWYG HTML editors have tools to reduce HTML 
>>>> bloat. Both also have cleaning import for Word documents.
>>>>
>>>
>>> Hi, I didn't look at CKEditor plugin, at the moment I: Edit/Cut/goto 
>>> html-cleaner.com/paste/clean/cut/paste-toTW, but it is rather boring... 
>>> ;-)
>>> I'll try CKE extension, thanks 
>>>
>>>>
>>>> Best wishes
>>>> Josiah
>>>>
>>>> Mark S. wrote:
>>>>> Lot's of text that you import is jam-packed with unnecessary mark-up. 
>>>>> This bloats the size of the resulting TW.
>>>>
>>>>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea2acd69-32d5-411e-99f9-4e9696cab405%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to