cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-12-26 04:18:28 +03:00
parent c85531dc12
commit 06f22772f5

View File

@ -208,11 +208,8 @@ var attributes = {
// .parseBlockAttrs(<text>[, <elem>]) // .parseBlockAttrs(<text>[, <elem>])
// -> [<elem>, <attrs>, <sys-attrs>] // -> [<elem>, <attrs>, <sys-attrs>]
// //
// XXX add attributes set in elem but not present in code to attrs/sysattrs...
// XXX where should we get .__block_attrs__??? // XXX where should we get .__block_attrs__???
// ...editor (current), plugin, ...??? // ...editor (current), plugin, ...???
// XXX might be a good idea to split out the actual code handler to
// be overloadable by other plugins...
parseBlockAttrs: function(editor, text, elem={}){ parseBlockAttrs: function(editor, text, elem={}){
var system = editor.__block_attrs__ var system = editor.__block_attrs__
var attrs = '' var attrs = ''