colorpicker shouldn't overwrite non-colors
This commit is contained in:
		
							parent
							
								
									44206ef166
								
							
						
					
					
						commit
						607160655d
					
				|  | @ -237,6 +237,10 @@ | |||
|       start++; | ||||
|       (color = lineTextLC.slice(start, end)); | ||||
|       colorValue = NAMED_COLORS.get(color); | ||||
|       if (!colorValue) { | ||||
|         start = ch; | ||||
|         color = ''; | ||||
|       } | ||||
|     } | ||||
|     return color && {ch: start, color, colorValue}; | ||||
|   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user